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:
FdaSilvaYY 2018-02-08 18:47:30 -05:00 committed by Rich Salz
parent 2e8b0ef8f4
commit a699b8e4ca
32 changed files with 51 additions and 143 deletions

View File

@ -1,6 +1,6 @@
/* /*
* Generated by util/mkerr.pl DO NOT EDIT * 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 * Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy * 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), {ERR_PACK(ERR_LIB_OCSP, OCSP_F_OCSP_BASIC_ADD1_STATUS, 0),
"OCSP_basic_add1_status"}, "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, 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_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_CERT_ID_NEW, 0), "OCSP_cert_id_new"},
{ERR_PACK(ERR_LIB_OCSP, OCSP_F_OCSP_CHECK_DELEGATED, 0), {ERR_PACK(ERR_LIB_OCSP, OCSP_F_OCSP_CHECK_DELEGATED, 0),

View File

@ -16,12 +16,9 @@
# ifndef OPENSSL_NO_DSO # ifndef OPENSSL_NO_DSO
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_DSO_strings(void); int ERR_load_DSO_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* DSO function codes. * DSO function codes.

View File

@ -1,6 +1,6 @@
/* /*
* Generated by util/mkerr.pl DO NOT EDIT * 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 * Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy * this file except in compliance with the License. You can obtain a copy
@ -12,12 +12,9 @@
# define HEADER_ASN1ERR_H # define HEADER_ASN1ERR_H
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_ASN1_strings(void); int ERR_load_ASN1_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* ASN1 function codes. * ASN1 function codes.

View File

@ -1,6 +1,6 @@
/* /*
* Generated by util/mkerr.pl DO NOT EDIT * 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 * Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy * this file except in compliance with the License. You can obtain a copy
@ -12,12 +12,9 @@
# define HEADER_ASYNCERR_H # define HEADER_ASYNCERR_H
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_ASYNC_strings(void); int ERR_load_ASYNC_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* ASYNC function codes. * ASYNC function codes.

View File

@ -1,6 +1,6 @@
/* /*
* Generated by util/mkerr.pl DO NOT EDIT * 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 * Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy * this file except in compliance with the License. You can obtain a copy
@ -12,12 +12,9 @@
# define HEADER_BIOERR_H # define HEADER_BIOERR_H
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_BIO_strings(void); int ERR_load_BIO_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* BIO function codes. * BIO function codes.

View File

@ -1,6 +1,6 @@
/* /*
* Generated by util/mkerr.pl DO NOT EDIT * 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 * Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy * this file except in compliance with the License. You can obtain a copy
@ -12,12 +12,9 @@
# define HEADER_BNERR_H # define HEADER_BNERR_H
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_BN_strings(void); int ERR_load_BN_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* BN function codes. * BN function codes.

View File

@ -1,6 +1,6 @@
/* /*
* Generated by util/mkerr.pl DO NOT EDIT * 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 * Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy * this file except in compliance with the License. You can obtain a copy
@ -12,12 +12,9 @@
# define HEADER_BUFERR_H # define HEADER_BUFERR_H
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_BUF_strings(void); int ERR_load_BUF_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* BUF function codes. * BUF function codes.

View File

@ -16,12 +16,9 @@
# ifndef OPENSSL_NO_CMS # ifndef OPENSSL_NO_CMS
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_CMS_strings(void); int ERR_load_CMS_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* CMS function codes. * CMS function codes.

View File

@ -16,12 +16,9 @@
# ifndef OPENSSL_NO_COMP # ifndef OPENSSL_NO_COMP
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_COMP_strings(void); int ERR_load_COMP_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* COMP function codes. * COMP function codes.

View File

@ -1,6 +1,6 @@
/* /*
* Generated by util/mkerr.pl DO NOT EDIT * 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 * Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy * this file except in compliance with the License. You can obtain a copy
@ -12,12 +12,9 @@
# define HEADER_CONFERR_H # define HEADER_CONFERR_H
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_CONF_strings(void); int ERR_load_CONF_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* CONF function codes. * CONF function codes.

View File

@ -1,6 +1,6 @@
/* /*
* Generated by util/mkerr.pl DO NOT EDIT * 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 * Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy * this file except in compliance with the License. You can obtain a copy
@ -12,12 +12,9 @@
# define HEADER_CRYPTOERR_H # define HEADER_CRYPTOERR_H
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_CRYPTO_strings(void); int ERR_load_CRYPTO_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* CRYPTO function codes. * CRYPTO function codes.

View File

@ -16,12 +16,9 @@
# ifndef OPENSSL_NO_CT # ifndef OPENSSL_NO_CT
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_CT_strings(void); int ERR_load_CT_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* CT function codes. * CT function codes.

View File

@ -16,12 +16,9 @@
# ifndef OPENSSL_NO_DH # ifndef OPENSSL_NO_DH
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_DH_strings(void); int ERR_load_DH_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* DH function codes. * DH function codes.

View File

@ -16,12 +16,9 @@
# ifndef OPENSSL_NO_DSA # ifndef OPENSSL_NO_DSA
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_DSA_strings(void); int ERR_load_DSA_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* DSA function codes. * DSA function codes.

View File

@ -16,12 +16,9 @@
# ifndef OPENSSL_NO_EC # ifndef OPENSSL_NO_EC
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_EC_strings(void); int ERR_load_EC_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* EC function codes. * EC function codes.

View File

@ -16,12 +16,9 @@
# ifndef OPENSSL_NO_ENGINE # ifndef OPENSSL_NO_ENGINE
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_ENGINE_strings(void); int ERR_load_ENGINE_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* ENGINE function codes. * ENGINE function codes.

View File

@ -12,12 +12,9 @@
# define HEADER_EVPERR_H # define HEADER_EVPERR_H
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_EVP_strings(void); int ERR_load_EVP_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* EVP function codes. * EVP function codes.

View File

@ -1,6 +1,6 @@
/* /*
* Generated by util/mkerr.pl DO NOT EDIT * 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 * Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy * this file except in compliance with the License. You can obtain a copy
@ -12,12 +12,9 @@
# define HEADER_KDFERR_H # define HEADER_KDFERR_H
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_KDF_strings(void); int ERR_load_KDF_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* KDF function codes. * KDF function codes.

View File

@ -1,6 +1,6 @@
/* /*
* Generated by util/mkerr.pl DO NOT EDIT * 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 * Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy * this file except in compliance with the License. You can obtain a copy
@ -12,12 +12,9 @@
# define HEADER_OBJERR_H # define HEADER_OBJERR_H
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_OBJ_strings(void); int ERR_load_OBJ_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* OBJ function codes. * OBJ function codes.

View File

@ -16,12 +16,9 @@
# ifndef OPENSSL_NO_OCSP # ifndef OPENSSL_NO_OCSP
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_OCSP_strings(void); int ERR_load_OCSP_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* OCSP function codes. * OCSP function codes.

View File

@ -1,6 +1,6 @@
/* /*
* Generated by util/mkerr.pl DO NOT EDIT * 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 * Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy * this file except in compliance with the License. You can obtain a copy
@ -12,12 +12,9 @@
# define HEADER_PEMERR_H # define HEADER_PEMERR_H
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_PEM_strings(void); int ERR_load_PEM_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* PEM function codes. * PEM function codes.

View File

@ -1,6 +1,6 @@
/* /*
* Generated by util/mkerr.pl DO NOT EDIT * 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 * Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy * this file except in compliance with the License. You can obtain a copy
@ -12,12 +12,9 @@
# define HEADER_PKCS12ERR_H # define HEADER_PKCS12ERR_H
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_PKCS12_strings(void); int ERR_load_PKCS12_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* PKCS12 function codes. * PKCS12 function codes.

View File

@ -1,6 +1,6 @@
/* /*
* Generated by util/mkerr.pl DO NOT EDIT * 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 * Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy * this file except in compliance with the License. You can obtain a copy
@ -12,12 +12,9 @@
# define HEADER_PKCS7ERR_H # define HEADER_PKCS7ERR_H
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_PKCS7_strings(void); int ERR_load_PKCS7_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* PKCS7 function codes. * PKCS7 function codes.

View File

@ -12,12 +12,9 @@
# define HEADER_RANDERR_H # define HEADER_RANDERR_H
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_RAND_strings(void); int ERR_load_RAND_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* RAND function codes. * RAND function codes.

View File

@ -1,6 +1,6 @@
/* /*
* Generated by util/mkerr.pl DO NOT EDIT * 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 * Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy * this file except in compliance with the License. You can obtain a copy
@ -12,12 +12,9 @@
# define HEADER_RSAERR_H # define HEADER_RSAERR_H
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_RSA_strings(void); int ERR_load_RSA_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* RSA function codes. * RSA function codes.

View File

@ -12,12 +12,9 @@
# define HEADER_SSLERR_H # define HEADER_SSLERR_H
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_SSL_strings(void); int ERR_load_SSL_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* SSL function codes. * SSL function codes.

View File

@ -1,6 +1,6 @@
/* /*
* Generated by util/mkerr.pl DO NOT EDIT * 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 * Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy * this file except in compliance with the License. You can obtain a copy
@ -12,12 +12,9 @@
# define HEADER_OSSL_STOREERR_H # define HEADER_OSSL_STOREERR_H
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_OSSL_STORE_strings(void); int ERR_load_OSSL_STORE_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* OSSL_STORE function codes. * OSSL_STORE function codes.

View File

@ -16,12 +16,9 @@
# ifndef OPENSSL_NO_TS # ifndef OPENSSL_NO_TS
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_TS_strings(void); int ERR_load_TS_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* TS function codes. * TS function codes.

View File

@ -1,6 +1,6 @@
/* /*
* Generated by util/mkerr.pl DO NOT EDIT * 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 * Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy * this file except in compliance with the License. You can obtain a copy
@ -12,12 +12,9 @@
# define HEADER_UIERR_H # define HEADER_UIERR_H
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_UI_strings(void); int ERR_load_UI_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* UI function codes. * UI function codes.

View File

@ -1,6 +1,6 @@
/* /*
* Generated by util/mkerr.pl DO NOT EDIT * 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 * Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy * this file except in compliance with the License. You can obtain a copy
@ -12,12 +12,9 @@
# define HEADER_X509ERR_H # define HEADER_X509ERR_H
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_X509_strings(void); int ERR_load_X509_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* X509 function codes. * X509 function codes.

View File

@ -1,6 +1,6 @@
/* /*
* Generated by util/mkerr.pl DO NOT EDIT * 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 * Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy * this file except in compliance with the License. You can obtain a copy
@ -12,12 +12,9 @@
# define HEADER_X509V3ERR_H # define HEADER_X509V3ERR_H
# ifdef __cplusplus # ifdef __cplusplus
extern "C" { extern "C"
# endif # endif
int ERR_load_X509V3_strings(void); int ERR_load_X509V3_strings(void);
# ifdef __cplusplus
}
# endif
/* /*
* X509V3 function codes. * X509V3 function codes.

View File

@ -471,12 +471,9 @@ EOF
} }
print OUT <<"EOF"; print OUT <<"EOF";
#${indent}ifdef __cplusplus #${indent}ifdef __cplusplus
extern \"C\" { extern \"C\"
#${indent}endif #${indent}endif
int ERR_load_${lib}_strings(void); int ERR_load_${lib}_strings(void);
#${indent}ifdef __cplusplus
}
#${indent}endif
EOF EOF
} else { } else {
print OUT <<"EOF"; print OUT <<"EOF";