mirror of
https://github.com/openssl/openssl.git
synced 2024-12-14 12:34:02 +08:00
Small simplification in mkerr.pl
As suggested in https://github.com/openssl/openssl/pull/5275 Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5288)
This commit is contained in:
parent
2e8b0ef8f4
commit
a699b8e4ca
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Generated by util/mkerr.pl DO NOT EDIT
|
||||
* Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@ -18,7 +18,8 @@ static const ERR_STRING_DATA OCSP_str_functs[] = {
|
||||
{ERR_PACK(ERR_LIB_OCSP, OCSP_F_OCSP_BASIC_ADD1_STATUS, 0),
|
||||
"OCSP_basic_add1_status"},
|
||||
{ERR_PACK(ERR_LIB_OCSP, OCSP_F_OCSP_BASIC_SIGN, 0), "OCSP_basic_sign"},
|
||||
{ERR_PACK(ERR_LIB_OCSP, OCSP_F_OCSP_BASIC_SIGN_CTX, 0), "OCSP_basic_sign_ctx"},
|
||||
{ERR_PACK(ERR_LIB_OCSP, OCSP_F_OCSP_BASIC_SIGN_CTX, 0),
|
||||
"OCSP_basic_sign_ctx"},
|
||||
{ERR_PACK(ERR_LIB_OCSP, OCSP_F_OCSP_BASIC_VERIFY, 0), "OCSP_basic_verify"},
|
||||
{ERR_PACK(ERR_LIB_OCSP, OCSP_F_OCSP_CERT_ID_NEW, 0), "OCSP_cert_id_new"},
|
||||
{ERR_PACK(ERR_LIB_OCSP, OCSP_F_OCSP_CHECK_DELEGATED, 0),
|
||||
|
@ -16,12 +16,9 @@
|
||||
# ifndef OPENSSL_NO_DSO
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_DSO_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* DSO function codes.
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Generated by util/mkerr.pl DO NOT EDIT
|
||||
* Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@ -12,12 +12,9 @@
|
||||
# define HEADER_ASN1ERR_H
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_ASN1_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* ASN1 function codes.
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Generated by util/mkerr.pl DO NOT EDIT
|
||||
* Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@ -12,12 +12,9 @@
|
||||
# define HEADER_ASYNCERR_H
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_ASYNC_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* ASYNC function codes.
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Generated by util/mkerr.pl DO NOT EDIT
|
||||
* Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@ -12,12 +12,9 @@
|
||||
# define HEADER_BIOERR_H
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_BIO_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* BIO function codes.
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Generated by util/mkerr.pl DO NOT EDIT
|
||||
* Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@ -12,12 +12,9 @@
|
||||
# define HEADER_BNERR_H
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_BN_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* BN function codes.
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Generated by util/mkerr.pl DO NOT EDIT
|
||||
* Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@ -12,12 +12,9 @@
|
||||
# define HEADER_BUFERR_H
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_BUF_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* BUF function codes.
|
||||
|
@ -16,12 +16,9 @@
|
||||
# ifndef OPENSSL_NO_CMS
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_CMS_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* CMS function codes.
|
||||
|
@ -16,12 +16,9 @@
|
||||
# ifndef OPENSSL_NO_COMP
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_COMP_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* COMP function codes.
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Generated by util/mkerr.pl DO NOT EDIT
|
||||
* Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@ -12,12 +12,9 @@
|
||||
# define HEADER_CONFERR_H
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_CONF_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* CONF function codes.
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Generated by util/mkerr.pl DO NOT EDIT
|
||||
* Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@ -12,12 +12,9 @@
|
||||
# define HEADER_CRYPTOERR_H
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_CRYPTO_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* CRYPTO function codes.
|
||||
|
@ -16,12 +16,9 @@
|
||||
# ifndef OPENSSL_NO_CT
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_CT_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* CT function codes.
|
||||
|
@ -16,12 +16,9 @@
|
||||
# ifndef OPENSSL_NO_DH
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_DH_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* DH function codes.
|
||||
|
@ -16,12 +16,9 @@
|
||||
# ifndef OPENSSL_NO_DSA
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_DSA_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* DSA function codes.
|
||||
|
@ -16,12 +16,9 @@
|
||||
# ifndef OPENSSL_NO_EC
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_EC_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* EC function codes.
|
||||
|
@ -16,12 +16,9 @@
|
||||
# ifndef OPENSSL_NO_ENGINE
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_ENGINE_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* ENGINE function codes.
|
||||
|
@ -12,12 +12,9 @@
|
||||
# define HEADER_EVPERR_H
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_EVP_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* EVP function codes.
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Generated by util/mkerr.pl DO NOT EDIT
|
||||
* Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@ -12,12 +12,9 @@
|
||||
# define HEADER_KDFERR_H
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_KDF_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* KDF function codes.
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Generated by util/mkerr.pl DO NOT EDIT
|
||||
* Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@ -12,12 +12,9 @@
|
||||
# define HEADER_OBJERR_H
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_OBJ_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* OBJ function codes.
|
||||
|
@ -16,12 +16,9 @@
|
||||
# ifndef OPENSSL_NO_OCSP
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_OCSP_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* OCSP function codes.
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Generated by util/mkerr.pl DO NOT EDIT
|
||||
* Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@ -12,12 +12,9 @@
|
||||
# define HEADER_PEMERR_H
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_PEM_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* PEM function codes.
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Generated by util/mkerr.pl DO NOT EDIT
|
||||
* Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@ -12,12 +12,9 @@
|
||||
# define HEADER_PKCS12ERR_H
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_PKCS12_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* PKCS12 function codes.
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Generated by util/mkerr.pl DO NOT EDIT
|
||||
* Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@ -12,12 +12,9 @@
|
||||
# define HEADER_PKCS7ERR_H
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_PKCS7_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* PKCS7 function codes.
|
||||
|
@ -12,12 +12,9 @@
|
||||
# define HEADER_RANDERR_H
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_RAND_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* RAND function codes.
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Generated by util/mkerr.pl DO NOT EDIT
|
||||
* Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@ -12,12 +12,9 @@
|
||||
# define HEADER_RSAERR_H
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_RSA_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* RSA function codes.
|
||||
|
@ -12,12 +12,9 @@
|
||||
# define HEADER_SSLERR_H
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_SSL_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* SSL function codes.
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Generated by util/mkerr.pl DO NOT EDIT
|
||||
* Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@ -12,12 +12,9 @@
|
||||
# define HEADER_OSSL_STOREERR_H
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_OSSL_STORE_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* OSSL_STORE function codes.
|
||||
|
@ -16,12 +16,9 @@
|
||||
# ifndef OPENSSL_NO_TS
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_TS_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* TS function codes.
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Generated by util/mkerr.pl DO NOT EDIT
|
||||
* Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@ -12,12 +12,9 @@
|
||||
# define HEADER_UIERR_H
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_UI_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* UI function codes.
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Generated by util/mkerr.pl DO NOT EDIT
|
||||
* Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@ -12,12 +12,9 @@
|
||||
# define HEADER_X509ERR_H
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_X509_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* X509 function codes.
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Generated by util/mkerr.pl DO NOT EDIT
|
||||
* Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
@ -12,12 +12,9 @@
|
||||
# define HEADER_X509V3ERR_H
|
||||
|
||||
# ifdef __cplusplus
|
||||
extern "C" {
|
||||
extern "C"
|
||||
# endif
|
||||
int ERR_load_X509V3_strings(void);
|
||||
# ifdef __cplusplus
|
||||
}
|
||||
# endif
|
||||
|
||||
/*
|
||||
* X509V3 function codes.
|
||||
|
@ -471,12 +471,9 @@ EOF
|
||||
}
|
||||
print OUT <<"EOF";
|
||||
#${indent}ifdef __cplusplus
|
||||
extern \"C\" {
|
||||
extern \"C\"
|
||||
#${indent}endif
|
||||
int ERR_load_${lib}_strings(void);
|
||||
#${indent}ifdef __cplusplus
|
||||
}
|
||||
#${indent}endif
|
||||
EOF
|
||||
} else {
|
||||
print OUT <<"EOF";
|
||||
|
Loading…
Reference in New Issue
Block a user