Hi,
My build failed when compiling openssl 1.0.2 beta 1 with no-nextprotoneg defined :
.\ssl\s3_clnt.c(413) : error C2065: 'SSL3_ST_CW_SUPPLEMENTAL_DATA_A'

I solved this just by moving line 636 of ssl3.h 3 lines above.
Diff file is attached.

Regards,
--- D:/openssl-1.0.2-beta1/ssl/ssl3.h   Fri Feb 28 13:02:46 2014
+++ H:/openssl-1.0.2-beta1/ssl/ssl3.h   Mon Feb 24 13:36:16 2014
@@ -630,10 +630,10 @@
 #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)

Reply via email to