aboutsummaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2013-11-18 16:52:10 +0000
committerDr. Stephen Henson <steve@openssl.org>2013-11-18 16:52:10 +0000
commit60aeb18750382362ec1c4e1cf05a7222c99ec886 (patch)
treeadf7822e4e3b9d6683ba904b15f54f5883e0d4ad /ssl
parentfdeaf55bf95e1e2a1e70cca8b68c7d8bbef7c8f0 (diff)
downloadopenssl-60aeb18750382362ec1c4e1cf05a7222c99ec886.tar.gz
Don't define SSL_select_next_proto if OPENSSL_NO_TLSEXT set
Diffstat (limited to 'ssl')
-rw-r--r--ssl/ssl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/ssl.h b/ssl/ssl.h
index 4e405943b1..3c3b56fee2 100644
--- a/ssl/ssl.h
+++ b/ssl/ssl.h
@@ -1278,9 +1278,11 @@ void SSL_get0_next_proto_negotiated(const SSL *s, const unsigned char **data,
unsigned *len);
#endif
+#ifndef OPENSSL_NO_TLSEXT
int SSL_select_next_proto(unsigned char **out, unsigned char *outlen,
const unsigned char *in, unsigned int inlen,
const unsigned char *client, unsigned int client_len);
+#endif
#define OPENSSL_NPN_UNSUPPORTED 0
#define OPENSSL_NPN_NEGOTIATED 1