diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2014-08-05 15:21:36 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2014-08-15 12:20:04 +0100 |
commit | b83294fe3022b9d5d525ccdcfeb53d39c25b05bd (patch) | |
tree | 07f4153b12ead528c0113c6598e56e87cc77d68f /ssl/s23_clnt.c | |
parent | 06f5d12f511ad81a05e82b3473832a1d1d560172 (diff) |
Revision of custom extension code.
Move custom extension structures from SSL_CTX to CERT structure.
This change means the form can be revised in future without binary
compatibility issues. Also since CERT is part of SSL structures
so per-SSL custom extensions could be supported in future as well as
per SSL_CTX.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Diffstat (limited to 'ssl/s23_clnt.c')
-rw-r--r-- | ssl/s23_clnt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s23_clnt.c b/ssl/s23_clnt.c index 0865485bcf..903f1282dd 100644 --- a/ssl/s23_clnt.c +++ b/ssl/s23_clnt.c @@ -368,7 +368,7 @@ static int ssl23_client_hello(SSL *s) if (s->ctx->tlsext_opaque_prf_input_callback != 0 || s->tlsext_opaque_prf_input != NULL) ssl2_compat = 0; #endif - if (s->ctx->custom_cli_ext_records_count != 0) + if (s->cert->custom_cli_ext_records_count != 0) ssl2_compat = 0; } #endif |