re-add definition of OPENSSL_MSTR deleted from opensslv.h in macros.h
[openssl.git] / include / openssl / esserr.h
index e8fdb1d2ae96e93dd1f161c2827c8768924251e3..8befce5c4849a62549774bdfb099f7b7390e08f5 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under the Apache License 2.0 (the "License").  You may not use
  * this file except in compliance with the License.  You can obtain a copy
@@ -8,10 +8,12 @@
  * https://www.openssl.org/source/license.html
  */
 
-#ifndef HEADER_ESSERR_H
-# define HEADER_ESSERR_H
+#ifndef OPENSSL_ESSERR_H
+# define OPENSSL_ESSERR_H
 
 # include <openssl/opensslconf.h>
+# include <openssl/symhacks.h>
+
 
 # ifdef  __cplusplus
 extern "C"
@@ -21,12 +23,14 @@ int ERR_load_ESS_strings(void);
 /*
  * ESS function codes.
  */
-# define ESS_F_ESS_CERT_ID_NEW_INIT                       100
-# define ESS_F_ESS_CERT_ID_V2_NEW_INIT                    101
-# define ESS_F_ESS_SIGNING_CERT_ADD                       104
-# define ESS_F_ESS_SIGNING_CERT_NEW_INIT                  102
-# define ESS_F_ESS_SIGNING_CERT_V2_ADD                    105
-# define ESS_F_ESS_SIGNING_CERT_V2_NEW_INIT               103
+# ifndef OPENSSL_NO_DEPRECATED_3_0
+#  define ESS_F_ESS_CERT_ID_NEW_INIT                       0
+#  define ESS_F_ESS_CERT_ID_V2_NEW_INIT                    0
+#  define ESS_F_ESS_SIGNING_CERT_ADD                       0
+#  define ESS_F_ESS_SIGNING_CERT_NEW_INIT                  0
+#  define ESS_F_ESS_SIGNING_CERT_V2_ADD                    0
+#  define ESS_F_ESS_SIGNING_CERT_V2_NEW_INIT               0
+# endif
 
 /*
  * ESS reason codes.