Fix enable-ssl-trace no-nextprotoneg.
authorBen Laurie <ben@links.org>
Mon, 18 Apr 2016 09:45:02 +0000 (10:45 +0100)
committerBen Laurie <ben@links.org>
Wed, 27 Apr 2016 11:36:30 +0000 (12:36 +0100)
Reviewed-by: Richard Levitte <levitte@openssl.org>
ssl/t1_trce.c

index cb22d49c8216220c1d3192a56e8be114a86e2153..b56b50422a7af0cfec375930d141895c91f949cb 100644 (file)
@@ -497,7 +497,9 @@ static ssl_trace_tbl ssl_exts_tbl[] = {
     {TLSEXT_TYPE_heartbeat, "heartbeat"},
     {TLSEXT_TYPE_session_ticket, "session_ticket"},
     {TLSEXT_TYPE_renegotiate, "renegotiate"},
+#ifndef OPENSSL_NO_NEXTPROTONEG
     {TLSEXT_TYPE_next_proto_neg, "next_proto_neg"},
+#endif
     {TLSEXT_TYPE_signed_certificate_timestamp, "signed_certificate_timestamps"},
     {TLSEXT_TYPE_padding, "padding"},
     {TLSEXT_TYPE_encrypt_then_mac, "encrypt_then_mac"},