From 60aeb18750382362ec1c4e1cf05a7222c99ec886 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 18 Nov 2013 16:52:10 +0000 Subject: [PATCH] Don't define SSL_select_next_proto if OPENSSL_NO_TLSEXT set --- ssl/ssl.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.25.1