Fix compilation with no-nextprotoneg

A guard was in the wrong place in the header file.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2212)
This commit is contained in:
Matt Caswell 2017-01-11 10:35:15 +00:00
parent 66ed24b162
commit e3bc1305ec

View file

@ -807,7 +807,6 @@ struct ssl_ctx_st {
unsigned char *supportedgroups;
# endif /* OPENSSL_NO_EC */
# ifndef OPENSSL_NO_NEXTPROTONEG
/*
* ALPN information (we are in the process of transitioning from NPN to
* ALPN.)
@ -837,6 +836,7 @@ struct ssl_ctx_st {
unsigned char *alpn;
size_t alpn_len;
# ifndef OPENSSL_NO_NEXTPROTONEG
/* Next protocol negotiation information */
/*