Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: openssl/ssl/t1_lib.c

Issue 5692003: Allow NPN enable on a per-SSL connection basis... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/openssl/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « openssl/ssl/ssl_lib.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: openssl/ssl/t1_lib.c
===================================================================
--- openssl/ssl/t1_lib.c (revision 65717)
+++ openssl/ssl/t1_lib.c (working copy)
@@ -272,7 +272,7 @@
i2d_X509_EXTENSIONS(s->tlsext_ocsp_exts, &ret);
}
- if (s->ctx->next_proto_select_cb)
+ if (s->next_proto_select_cb)
{
/* The client advertises an emtpy extension to indicate its
* support for Next Protocol Negotiation */
@@ -922,7 +922,7 @@
unsigned char selected_len;
/* We must have requested it. */
- if ((s->ctx->next_proto_select_cb == NULL))
+ if ((s->next_proto_select_cb == NULL))
{
*al = TLS1_AD_UNSUPPORTED_EXTENSION;
return 0;
@@ -933,7 +933,7 @@
*al = TLS1_AD_DECODE_ERROR;
return 0;
}
- if (s->ctx->next_proto_select_cb(s, &selected, &selected_len, data, size, s->ctx->next_proto_select_cb_arg) != SSL_TLSEXT_ERR_OK)
+ if (s->next_proto_select_cb(s, &selected, &selected_len, data, size, s->next_proto_select_cb_arg) != SSL_TLSEXT_ERR_OK)
{
*al = TLS1_AD_INTERNAL_ERROR;
return 0;
« no previous file with comments | « openssl/ssl/ssl_lib.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698