Fix compilation errors with no-nextprotoneg
authorDr. Stephen Henson <steve@openssl.org>
Fri, 28 Feb 2014 13:35:30 +0000 (13:35 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 28 Feb 2014 13:35:30 +0000 (13:35 +0000)
ssl/ssl3.h

index 9826e2f648b10d265fa5dd39153588db23355ee2..ef20aa6c7312867d75de6ca0c72f8eb2d408f0d5 100644 (file)
@@ -630,11 +630,11 @@ typedef struct ssl3_state_st
 #ifndef OPENSSL_NO_NEXTPROTONEG
 #define SSL3_ST_CW_NEXT_PROTO_A                (0x200|SSL_ST_CONNECT)
 #define SSL3_ST_CW_NEXT_PROTO_B                (0x201|SSL_ST_CONNECT)
+#endif
 #ifndef OPENSSL_NO_TLSEXT
 #define SSL3_ST_CW_SUPPLEMENTAL_DATA_A         (0x222|SSL_ST_CONNECT)
 #define SSL3_ST_CW_SUPPLEMENTAL_DATA_B         (0x223|SSL_ST_CONNECT)
 #endif
-#endif
 #define SSL3_ST_CW_FINISHED_A          (0x1B0|SSL_ST_CONNECT)
 #define SSL3_ST_CW_FINISHED_B          (0x1B1|SSL_ST_CONNECT)
 /* read from server */