Add support for broken protocol tests (backport from master branch)
[openssl.git] / ssl / ssl.h
index e05077c2c568f704ee0a4c4d7f013afa17d3142e..6cb1546821cedbb590d1d0738b6169a24a7f41e7 100644 (file)
--- a/ssl/ssl.h
+++ b/ssl/ssl.h
@@ -667,7 +667,8 @@ struct ssl_session_st
 /* Suite B 128 bit mode allowing 192 bit algorithms */
 #define SSL_CERT_FLAG_SUITEB_128_LOS           0x30000
 
-
+/* Perform all sorts of protocol violations for testing purposes */
+#define SSL_CERT_FLAG_BROKEN_PROTOCOL          0x10000000
 
 /* Flags for building certificate chains */
 /* Treat any existing certificates as untrusted CAs */