projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
SSL_OP_DISABLE_TLSEXT_CA_NAMES option implementation
[openssl.git]
/
ssl
/
statem
/
statem_lib.c
diff --git
a/ssl/statem/statem_lib.c
b/ssl/statem/statem_lib.c
index 262fe355f3f5aa203ad0550b0140b1e40edfebda..36cdc1be58d4352399406038128bf0e0c30a8015 100644
(file)
--- a/
ssl/statem/statem_lib.c
+++ b/
ssl/statem/statem_lib.c
@@
-2342,7
+2342,7
@@
int construct_ca_names(SSL *s, const STACK_OF(X509_NAME) *ca_sk, WPACKET *pkt)
return 0;
}
- if (
ca_sk != NULL
) {
+ if (
(ca_sk != NULL) && !(s->options & SSL_OP_DISABLE_TLSEXT_CA_NAMES)
) {
int i;
for (i = 0; i < sk_X509_NAME_num(ca_sk); i++) {