diff options
Diffstat (limited to 'src/plugins/tlsopenssl/tls_openssl.c')
-rw-r--r-- | src/plugins/tlsopenssl/tls_openssl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/tlsopenssl/tls_openssl.c b/src/plugins/tlsopenssl/tls_openssl.c index 0b76425d60d..a1cf3e7e3c4 100644 --- a/src/plugins/tlsopenssl/tls_openssl.c +++ b/src/plugins/tlsopenssl/tls_openssl.c @@ -1152,8 +1152,8 @@ tls_openssl_set_ciphers (char *ciphers) return -1; } - vec_validate (om->ciphers, strlen (ciphers) - 1); - for (i = 0; i < vec_len (om->ciphers); i++) + vec_validate (om->ciphers, strlen (ciphers)); + for (i = 0; i < vec_len (om->ciphers) - 1; i++) { om->ciphers[i] = toupper (ciphers[i]); } |