In commit
52df25cf2e656146cb3b206d8220124f0417d03f, the
ERR_load_FOO_strings() functions were moved from their original
location in foo.h into new headers called fooerr.h. But they were
never removed from their original locations. This duplication
causes redundant-declaration warnings on programs that use OpenSSL's
headers with such warnings enabled.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5150)
void ASYNC_block_pause(void);
void ASYNC_unblock_pause(void);
-int ERR_load_ASYNC_strings(void);
# ifdef __cplusplus
}
int BIO_meth_set_callback_ctrl(BIO_METHOD *biom,
long (*callback_ctrl) (BIO *, int,
BIO_info_cb *));
-int ERR_load_BIO_strings(void);
# ifdef __cplusplus
}
int BN_bntest_rand(BIGNUM *rnd, int bits, int top, int bottom);
-int ERR_load_BN_strings(void);
# ifdef __cplusplus
}
size_t BUF_MEM_grow_clean(BUF_MEM *str, size_t len);
void BUF_reverse(unsigned char *out, const unsigned char *in, size_t siz);
-int ERR_load_BUF_strings(void);
# ifdef __cplusplus
}
# define CMS_R_UNSUPPORTED_RECPIENTINFO_TYPE \
CMS_R_UNSUPPORTED_RECIPIENTINFO_TYPE
-int ERR_load_CMS_strings(void);
# ifdef __cplusplus
}
# endif
# endif
# endif
-int ERR_load_COMP_strings(void);
# ifdef __cplusplus
}
void OPENSSL_load_builtin_modules(void);
-int ERR_load_CONF_strings(void);
# ifdef __cplusplus
}
CRYPTO_THREAD_ID CRYPTO_THREAD_get_current_id(void);
int CRYPTO_THREAD_compare_id(CRYPTO_THREAD_ID a, CRYPTO_THREAD_ID b);
-int ERR_load_CRYPTO_strings(void);
# ifdef __cplusplus
}
*/
__owur int CTLOG_STORE_load_default_file(CTLOG_STORE *store);
-int ERR_load_CT_strings(void);
# ifdef __cplusplus
}
# endif
# define EVP_PKEY_DH_KDF_X9_42 2
# endif
-int ERR_load_DH_strings(void);
# ifdef __cplusplus
}
int (*DSA_meth_get_keygen(const DSA_METHOD *dsam)) (DSA *);
int DSA_meth_set_keygen(DSA_METHOD *dsam, int (*keygen) (DSA *));
-int ERR_load_DSA_strings(void);
# ifdef __cplusplus
}
# define EVP_PKEY_ECDH_KDF_NONE 1
# define EVP_PKEY_ECDH_KDF_X9_62 2
-int ERR_load_EC_strings(void);
# ifdef __cplusplus
}
DEPRECATEDIN_1_1_0(void ENGINE_setup_bsd_cryptodev(void))
# endif
-int ERR_load_ENGINE_strings(void);
# ifdef __cplusplus
}
void EVP_add_alg_module(void);
-int ERR_load_EVP_strings(void);
# ifdef __cplusplus
}
EVP_PKEY_CTX_ctrl_uint64(pctx, -1, EVP_PKEY_OP_DERIVE, \
EVP_PKEY_CTRL_SCRYPT_MAXMEM_BYTES, maxmem_bytes)
-int ERR_load_KDF_strings(void);
# ifdef __cplusplus
}
int OBJ_add_sigid(int signid, int dig_id, int pkey_id);
void OBJ_sigid_free(void);
-int ERR_load_OBJ_strings(void);
# ifdef __cplusplus
}
int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *certs,
X509_STORE *st, unsigned long flags);
-int ERR_load_OCSP_strings(void);
# ifdef __cplusplus
}
# endif
# endif
-int ERR_load_PEM_strings(void);
# ifdef __cplusplus
}
# endif
extern "C" {
#endif
-#ifndef HEADER_PEM_H
-int ERR_load_PEM_strings(void);
-#endif
-
#ifdef __cplusplus
}
#endif
DEPRECATEDIN_1_1_0(int RAND_event(UINT, WPARAM, LPARAM))
# endif
-int ERR_load_RAND_strings(void);
#ifdef __cplusplus
}
int (*keygen) (RSA *rsa, int bits,
int primes, BIGNUM *e,
BN_GENCB *cb));
-int ERR_load_RSA_strings(void);
# ifdef __cplusplus
}
extern const char SSL_version_str[];
-int ERR_load_SSL_strings(void);
typedef unsigned int (*DTLS_timer_cb)(SSL *s, unsigned int timer_us);
*loader, void *do_arg),
void *do_arg);
-
-/*
- * Error strings
- */
-int ERR_load_OSSL_STORE_strings(void);
-
# ifdef __cplusplus
}
# endif
TS_RESP_CTX *ctx);
int TS_CONF_set_ess_cert_id_digest(CONF *conf, const char *section,
TS_RESP_CTX *ctx);
-int ERR_load_TS_strings(void);
# ifdef __cplusplus
}
int verify);
UI_METHOD *UI_UTIL_wrap_read_pem_callback(pem_password_cb *cb, int rwflag);
-int ERR_load_UI_strings(void);
# ifdef __cplusplus
}