-/* $OpenBSD: x509.h,v 1.97 2023/04/23 21:31:16 job Exp $ */
+/* $OpenBSD: x509.h,v 1.98 2023/04/24 08:39:06 job Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
#define X509_R_INVALID_DIRECTORY 113
#define X509_R_INVALID_FIELD_NAME 119
#define X509_R_INVALID_TRUST 123
+#define X509_R_INVALID_VERSION 137
#define X509_R_KEY_TYPE_MISMATCH 115
#define X509_R_KEY_VALUES_MISMATCH 116
#define X509_R_LOADING_CERT_DIR 103
#define X509_R_UNSUPPORTED_ALGORITHM 111
#define X509_R_WRONG_LOOKUP_TYPE 112
#define X509_R_WRONG_TYPE 122
-#define X509_R_INVALID_VERSION 123
#ifdef __cplusplus
}
-/* $OpenBSD: x509_err.c,v 1.20 2023/04/23 21:31:16 job Exp $ */
+/* $OpenBSD: x509_err.c,v 1.21 2023/04/24 08:39:06 job Exp $ */
/* ====================================================================
* Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
*
{ERR_REASON(X509_R_INVALID_DIRECTORY) , "invalid directory"},
{ERR_REASON(X509_R_INVALID_FIELD_NAME) , "invalid field name"},
{ERR_REASON(X509_R_INVALID_TRUST) , "invalid trust"},
+ {ERR_REASON(X509_R_INVALID_VERSION) , "invalid x509 version"},
{ERR_REASON(X509_R_KEY_TYPE_MISMATCH) , "key type mismatch"},
{ERR_REASON(X509_R_KEY_VALUES_MISMATCH) , "key values mismatch"},
{ERR_REASON(X509_R_LOADING_CERT_DIR) , "loading cert dir"},
{ERR_REASON(X509_R_UNSUPPORTED_ALGORITHM), "unsupported algorithm"},
{ERR_REASON(X509_R_WRONG_LOOKUP_TYPE) , "wrong lookup type"},
{ERR_REASON(X509_R_WRONG_TYPE) , "wrong type"},
- {ERR_REASON(X509_R_INVALID_VERSION) , "wrong x509 version"},
{0, NULL}
};