Commit f15a7e39 authored by Dirk Feytons's avatar Dirk Feytons
Browse files

Fix build with no-nextprotoneg



Add a missing ifdef. Same change is already present in master.

Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1100)
parent 581215a5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -275,7 +275,9 @@ int SSL_extension_supported(unsigned int ext_type)
    case TLSEXT_TYPE_ec_point_formats:
    case TLSEXT_TYPE_elliptic_curves:
    case TLSEXT_TYPE_heartbeat:
# ifndef OPENSSL_NO_NEXTPROTONEG
    case TLSEXT_TYPE_next_proto_neg:
# endif
    case TLSEXT_TYPE_padding:
    case TLSEXT_TYPE_renegotiate:
    case TLSEXT_TYPE_server_name: