Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
564005b
)
tls: null terminate openssl chiphers
81/35881/3
author
Florin Coras
<fcoras@cisco.com>
Mon, 4 Apr 2022 20:59:32 +0000
(13:59 -0700)
committer
Florin Coras
<florin.coras@gmail.com>
Mon, 4 Apr 2022 21:24:45 +0000
(21:24 +0000)
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I5d4e68730a75337a2e532e72f366b62d6973235e
src/plugins/tlsopenssl/tls_openssl.c
patch
|
blob
|
history
diff --git
a/src/plugins/tlsopenssl/tls_openssl.c
b/src/plugins/tlsopenssl/tls_openssl.c
index
0b76425
..
a1cf3e7
100644
(file)
--- 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]);
}