Fix CMP -days option range checking and test failing with enable-ubsan
[openssl.git] / include / openssl / ssl2.h
index ed70be58f67ecac7e0e94f0d6ef9bcf418af0663..428ead0540e9137825401fa34bc43e34fb87ad9a 100644 (file)
@@ -7,8 +7,14 @@
  * https://www.openssl.org/source/license.html
  */
 
-#ifndef HEADER_SSL2_H
-# define HEADER_SSL2_H
+#ifndef OPENSSL_SSL2_H
+# define OPENSSL_SSL2_H
+# pragma once
+
+# include <openssl/macros.h>
+# ifndef OPENSSL_NO_DEPRECATED_3_0
+#  define HEADER_SSL2_H
+# endif
 
 #ifdef  __cplusplus
 extern "C" {