]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - include/openssl/comperr.h
Regenerate mkerr files
[thirdparty/openssl.git] / include / openssl / comperr.h
index ab87f7d495a891848f1cfb982dc0e41b312ecda9..45e14488ba5e99fa812b3d606c6db032e8202cbe 100644 (file)
@@ -11,9 +11,9 @@
 #ifndef HEADER_COMPERR_H
 # define HEADER_COMPERR_H
 
-# ifndef HEADER_SYMHACKS_H
-#  include <openssl/symhacks.h>
-# endif
+# include <openssl/opensslconf.h>
+# include <openssl/symhacks.h>
+
 
 # include <openssl/opensslconf.h>
 
@@ -27,11 +27,13 @@ int ERR_load_COMP_strings(void);
 /*
  * COMP function codes.
  */
-#  define COMP_F_BIO_ZLIB_FLUSH                            99
-#  define COMP_F_BIO_ZLIB_NEW                              100
-#  define COMP_F_BIO_ZLIB_READ                             101
-#  define COMP_F_BIO_ZLIB_WRITE                            102
-#  define COMP_F_COMP_CTX_NEW                              103
+# if !OPENSSL_API_3
+#   define COMP_F_BIO_ZLIB_FLUSH                            0
+#   define COMP_F_BIO_ZLIB_NEW                              0
+#   define COMP_F_BIO_ZLIB_READ                             0
+#   define COMP_F_BIO_ZLIB_WRITE                            0
+#   define COMP_F_COMP_CTX_NEW                              0
+# endif
 
 /*
  * COMP reason codes.