Add some extra comments following alert changes
[openssl.git] / include / openssl / lhash.h
index a3adc647ca747abb35af74d972b1cefb1a82dfdb..88d7d977b9ec3f9ddb2acfbdbcd7cf70c300b2b5 100644 (file)
@@ -195,8 +195,21 @@ void OPENSSL_LH_node_usage_stats_bio(const OPENSSL_LHASH *lh, BIO *out);
     LHASH_OF(type)
 
 DEFINE_LHASH_OF(OPENSSL_STRING);
+# ifdef _MSC_VER
+/*
+ * push and pop this warning:
+ *   warning C4090: 'function': different 'const' qualifiers
+ */
+#  pragma warning (push)
+#  pragma warning (disable: 4090)
+# endif
+
 DEFINE_LHASH_OF(OPENSSL_CSTRING);
 
+# ifdef _MSC_VER
+#  pragma warning (pop)
+# endif
+
 #ifdef  __cplusplus
 }
 #endif