Increase the default security level to 2
[openssl.git] / include / openssl / esserr.h
index ff3c3d3d95cb22bee66cd4a2cb9e88ee7d5dec46..165ce7c437517080c10f9058b6ab6be947b2eaee 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2021 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
 
 # include <openssl/opensslconf.h>
 # include <openssl/symhacks.h>
-
-
-# ifdef  __cplusplus
-extern "C"
-# endif
-int ERR_load_ESS_strings(void);
-
-/*
- * ESS function codes.
- */
-# 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
+# include <openssl/cryptoerr_legacy.h>
 
 /*
  * ESS reason codes.
  */
+# define ESS_R_EMPTY_ESS_CERT_ID_LIST                     107
+# define ESS_R_ESS_CERT_DIGEST_ERROR                      103
+# define ESS_R_ESS_CERT_ID_NOT_FOUND                      104
+# define ESS_R_ESS_CERT_ID_WRONG_ORDER                    105
+# define ESS_R_ESS_DIGEST_ALG_UNKNOWN                     106
 # define ESS_R_ESS_SIGNING_CERTIFICATE_ERROR              102
 # define ESS_R_ESS_SIGNING_CERT_ADD_ERROR                 100
 # define ESS_R_ESS_SIGNING_CERT_V2_ADD_ERROR              101
+# define ESS_R_MISSING_SIGNING_CERTIFICATE_ATTRIBUTE      108
 
 #endif