Undo a couple of kludges.
[oweals/openssl.git] / ssl / ssl_locl.h
index 8c39d69712cdc26116927d27df9122a19d90fc7c..0cb5288c32fdff3437e87b543992032c11fdbda0 100644 (file)
 #define SSL_SHA1               0x00040000L
 #define SSL_SHA                        (SSL_SHA1)
 
-#define _SSL_EXP_MASK          0x00300000L
+#define SSL_EXP_MASK           0x00300000L
 #define SSL_EXP40              0x00100000L
-#define _SSL_NOT_EXP           0x00200000L
+#define SSL_NOT_EXP            0x00200000L
 #define SSL_EXP56              0x00300000L
 #define SSL_IS_EXPORT(a)       ((a)&SSL_EXP40)
-#define SSL_IS_EXPORT56(a)     (((a)&_SSL_EXP_MASK) == SSL_EXP56)
-#define SSL_IS_EXPORT40(a)     (((a)&_SSL_EXP_MASK) == SSL_EXP40)
+#define SSL_IS_EXPORT56(a)     (((a)&SSL_EXP_MASK) == SSL_EXP56)
+#define SSL_IS_EXPORT40(a)     (((a)&SSL_EXP_MASK) == SSL_EXP40)
 #define SSL_C_IS_EXPORT(c)     SSL_IS_EXPORT((c)->algorithms)
 #define SSL_C_IS_EXPORT56(c)   SSL_IS_EXPORT56((c)->algorithms)
 #define SSL_C_IS_EXPORT40(c)   SSL_IS_EXPORT40((c)->algorithms)
 /* we have used 0fffffff - 4 bits left to go */
 #define SSL_ALL                        0xffffffffL
 #define SSL_ALL_CIPHERS                (SSL_MKEY_MASK|SSL_AUTH_MASK|SSL_ENC_MASK|\
-                               SSL_MAC_MASK|_SSL_EXP_MASK)
+                               SSL_MAC_MASK|SSL_EXP_MASK)
 
 /* Mostly for SSLv3 */
 #define SSL_PKEY_RSA_ENC       0