Use more X509_REQ_get0_pubkey & X509_get0_pubkey
[openssl.git] / apps / apps.h
index 319b02ef1948e3e9dd6a85109b7e85e4e141d0ff..5faf440200bd9bd31a8916104311dcb6a59f663b 100644 (file)
@@ -274,6 +274,10 @@ int has_stdin_waiting(void);
         case OPT_S_DHPARAM: \
         case OPT_S_DEBUGBROKE
 
+#define IS_NO_PROT_FLAG(o) \
+ (o == OPT_S_NOSSL3 || o == OPT_S_NOTLS1 || o == OPT_S_NOTLS1_1 \
+  || o == OPT_S_NOTLS1_2)
+
 /*
  * Option parsing.
  */