From 3ece3605aceb035d22dee29a2db755a44e38dac6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Mon, 17 Dec 2001 19:24:39 +0000 Subject: [PATCH] remove redundant ERR_load_... declarations --- crypto/asn1/asn1.h | 2 -- crypto/bio/bio.h | 2 -- crypto/bn/bn.h | 1 - crypto/buffer/buffer.h | 2 -- crypto/conf/conf.h | 1 - crypto/crypto.h | 2 -- crypto/dh/dh.h | 1 - crypto/dsa/dsa.h | 2 -- crypto/dso/dso.h | 2 -- crypto/evp/evp.h | 2 -- crypto/objects/objects.h | 2 -- crypto/pem/pem.h | 2 -- crypto/pkcs12/pkcs12.h | 1 - crypto/pkcs7/pkcs7.h | 2 -- crypto/rand/rand.h | 1 - crypto/rsa/rsa.h | 2 -- crypto/x509/x509.h | 1 - crypto/x509v3/x509v3.h | 1 - rsaref/rsaref.h | 1 - ssl/ssl.h | 1 - 20 files changed, 31 deletions(-) diff --git a/crypto/asn1/asn1.h b/crypto/asn1/asn1.h index 5e197a8736..65dc5eda27 100644 --- a/crypto/asn1/asn1.h +++ b/crypto/asn1/asn1.h @@ -834,8 +834,6 @@ void ASN1_HEADER_free(ASN1_HEADER *a); int ASN1_UNIVERSALSTRING_to_string(ASN1_UNIVERSALSTRING *s); -void ERR_load_ASN1_strings(void); - /* Not used that much at this point, except for the first two */ ASN1_METHOD *X509_asn1_meth(void); ASN1_METHOD *RSAPrivateKey_asn1_meth(void); diff --git a/crypto/bio/bio.h b/crypto/bio/bio.h index 35dee5fcdd..3777f2866b 100644 --- a/crypto/bio/bio.h +++ b/crypto/bio/bio.h @@ -588,8 +588,6 @@ int BIO_sock_init(void ); void BIO_sock_cleanup(void); int BIO_set_tcp_ndelay(int sock,int turn_on); -void ERR_load_BIO_strings(void ); - BIO *BIO_new_socket(int sock, int close_flag); BIO *BIO_new_fd(int fd, int close_flag); BIO *BIO_new_connect(char *host_port); diff --git a/crypto/bn/bn.h b/crypto/bn/bn.h index cadb438aba..7ce9d8ce33 100644 --- a/crypto/bn/bn.h +++ b/crypto/bn/bn.h @@ -406,7 +406,6 @@ int BN_is_prime(const BIGNUM *p,int nchecks, int BN_is_prime_fasttest(const BIGNUM *p,int nchecks, void (*callback)(int,int,void *),BN_CTX *ctx,void *cb_arg, int do_trial_division); -void ERR_load_BN_strings(void ); BN_MONT_CTX *BN_MONT_CTX_new(void ); void BN_MONT_CTX_init(BN_MONT_CTX *ctx); diff --git a/crypto/buffer/buffer.h b/crypto/buffer/buffer.h index afe7a46d43..11e2d0359a 100644 --- a/crypto/buffer/buffer.h +++ b/crypto/buffer/buffer.h @@ -75,8 +75,6 @@ void BUF_MEM_free(BUF_MEM *a); int BUF_MEM_grow(BUF_MEM *str, int len); char * BUF_strdup(const char *str); -void ERR_load_BUF_strings(void ); - /* BEGIN ERROR CODES */ /* The following lines are auto generated by the script mkerr.pl. Any changes * made after this point may be overwritten when the script is next run. diff --git a/crypto/conf/conf.h b/crypto/conf/conf.h index 7612656f8b..31e4005f3d 100644 --- a/crypto/conf/conf.h +++ b/crypto/conf/conf.h @@ -108,7 +108,6 @@ long CONF_get_number(LHASH *conf,char *group,char *name); void CONF_free(LHASH *conf); int CONF_dump_fp(LHASH *conf, FILE *out); int CONF_dump_bio(LHASH *conf, BIO *out); -void ERR_load_CONF_strings(void ); /* New conf code. The semantics are different from the functions above. If that wasn't the case, the above functions would have been replaced */ diff --git a/crypto/crypto.h b/crypto/crypto.h index a7d0c3ea0b..8fba87131c 100644 --- a/crypto/crypto.h +++ b/crypto/crypto.h @@ -381,8 +381,6 @@ void CRYPTO_mem_leaks(struct bio_st *bio); /* unsigned long order, char *file, int line, int num_bytes, char *addr */ void CRYPTO_mem_leaks_cb(void (*cb)(unsigned long, const char *, int, int, void *)); -void ERR_load_CRYPTO_strings(void); - /* BEGIN ERROR CODES */ /* The following lines are auto generated by the script mkerr.pl. Any changes * made after this point may be overwritten when the script is next run. diff --git a/crypto/dh/dh.h b/crypto/dh/dh.h index 247be9281b..3fdd39fcce 100644 --- a/crypto/dh/dh.h +++ b/crypto/dh/dh.h @@ -177,7 +177,6 @@ int DHparams_print(BIO *bp, DH *x); #else int DHparams_print(char *bp, DH *x); #endif -void ERR_load_DH_strings(void ); /* BEGIN ERROR CODES */ /* The following lines are auto generated by the script mkerr.pl. Any changes diff --git a/crypto/dsa/dsa.h b/crypto/dsa/dsa.h index 79ddc49bff..c486689970 100644 --- a/crypto/dsa/dsa.h +++ b/crypto/dsa/dsa.h @@ -178,8 +178,6 @@ int DSA_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, int DSA_set_ex_data(DSA *d, int idx, void *arg); void *DSA_get_ex_data(DSA *d, int idx); -void ERR_load_DSA_strings(void ); - DSA * d2i_DSAPublicKey(DSA **a, unsigned char **pp, long length); DSA * d2i_DSAPrivateKey(DSA **a, unsigned char **pp, long length); DSA * d2i_DSAparams(DSA **a, unsigned char **pp, long length); diff --git a/crypto/dso/dso.h b/crypto/dso/dso.h index a2ff75d8ad..c1136eccb6 100644 --- a/crypto/dso/dso.h +++ b/crypto/dso/dso.h @@ -194,8 +194,6 @@ DSO_METHOD *DSO_METHOD_win32(void); /* If VMS is defined, use shared images. If not, return NULL. */ DSO_METHOD *DSO_METHOD_vms(void); -void ERR_load_DSO_strings(void); - /* BEGIN ERROR CODES */ /* The following lines are auto generated by the script mkerr.pl. Any changes * made after this point may be overwritten when the script is next run. diff --git a/crypto/evp/evp.h b/crypto/evp/evp.h index 9e1080e7c2..a61e46b761 100644 --- a/crypto/evp/evp.h +++ b/crypto/evp/evp.h @@ -603,8 +603,6 @@ int EVP_DecodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl); int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); -void ERR_load_EVP_strings(void ); - void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *a); int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *a); int EVP_CIPHER_CTX_set_key_length(EVP_CIPHER_CTX *x, int keylen); diff --git a/crypto/objects/objects.h b/crypto/objects/objects.h index 3980cbc8cb..990a6b8e4d 100644 --- a/crypto/objects/objects.h +++ b/crypto/objects/objects.h @@ -1005,8 +1005,6 @@ int OBJ_sn2nid(const char *s); int OBJ_cmp(ASN1_OBJECT *a,ASN1_OBJECT *b); char * OBJ_bsearch(char *key,char *base,int num,int size,int (*cmp)(const void *, const void *)); -void ERR_load_OBJ_strings(void ); - int OBJ_new_nid(int num); int OBJ_add_object(ASN1_OBJECT *obj); int OBJ_create(char *oid,char *sn,char *ln); diff --git a/crypto/pem/pem.h b/crypto/pem/pem.h index 7dbc94d4bd..3867b2ba80 100644 --- a/crypto/pem/pem.h +++ b/crypto/pem/pem.h @@ -524,8 +524,6 @@ void PEM_SignUpdate(EVP_MD_CTX *ctx,unsigned char *d,unsigned int cnt); int PEM_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, unsigned int *siglen, EVP_PKEY *pkey); -void ERR_load_PEM_strings(void); - void PEM_proc_type(char *buf, int type); void PEM_dek_info(char *buf, const char *type, int len, char *str); diff --git a/crypto/pkcs12/pkcs12.h b/crypto/pkcs12/pkcs12.h index 1241f1f633..fefa1a6a1f 100644 --- a/crypto/pkcs12/pkcs12.h +++ b/crypto/pkcs12/pkcs12.h @@ -267,7 +267,6 @@ PKCS12_SAFEBAG *PKCS12_SAFEBAG_new(void); PKCS12_SAFEBAG *d2i_PKCS12_SAFEBAG(PKCS12_SAFEBAG **a, unsigned char **pp, long length); void PKCS12_SAFEBAG_free(PKCS12_SAFEBAG *a); -void ERR_load_PKCS12_strings(void); void PKCS12_PBE_add(void); int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, STACK_OF(X509) **ca); diff --git a/crypto/pkcs7/pkcs7.h b/crypto/pkcs7/pkcs7.h index c5cd4b951a..5baaa784de 100644 --- a/crypto/pkcs7/pkcs7.h +++ b/crypto/pkcs7/pkcs7.h @@ -353,8 +353,6 @@ int i2d_PKCS7(PKCS7 *a, PKCS7 *d2i_PKCS7(PKCS7 **a, unsigned char **pp,long length); -void ERR_load_PKCS7_strings(void); - long PKCS7_ctrl(PKCS7 *p7, int cmd, long larg, char *parg); diff --git a/crypto/rand/rand.h b/crypto/rand/rand.h index 2ab95c9299..b00d9722a3 100644 --- a/crypto/rand/rand.h +++ b/crypto/rand/rand.h @@ -93,7 +93,6 @@ const char *RAND_file_name(char *file,size_t num); int RAND_status(void); int RAND_egd(const char *path); int RAND_egd_bytes(const char *path,int bytes); -void ERR_load_RAND_strings(void); int RAND_poll(void); #ifdef __cplusplus diff --git a/crypto/rsa/rsa.h b/crypto/rsa/rsa.h index 9c0637c170..28912b3906 100644 --- a/crypto/rsa/rsa.h +++ b/crypto/rsa/rsa.h @@ -202,8 +202,6 @@ RSA_METHOD *RSA_PKCS1_SSLeay(void); RSA_METHOD *RSA_null_method(void); -void ERR_load_RSA_strings(void ); - RSA * d2i_RSAPublicKey(RSA **a, unsigned char **pp, long length); int i2d_RSAPublicKey(RSA *a, unsigned char **pp); RSA * d2i_RSAPrivateKey(RSA **a, unsigned char **pp, long length); diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h index 088319a568..385c2e1f4d 100644 --- a/crypto/x509/x509.h +++ b/crypto/x509/x509.h @@ -810,7 +810,6 @@ const char * X509_get_default_private_dir(void ); X509_REQ * X509_to_X509_REQ(X509 *x, EVP_PKEY *pkey, const EVP_MD *md); X509 * X509_REQ_to_X509(X509_REQ *r, int days,EVP_PKEY *pkey); -void ERR_load_X509_strings(void ); X509_ALGOR * X509_ALGOR_new(void ); void X509_ALGOR_free(X509_ALGOR *a); diff --git a/crypto/x509v3/x509v3.h b/crypto/x509v3/x509v3.h index 07dc5713bb..f810d46408 100644 --- a/crypto/x509v3/x509v3.h +++ b/crypto/x509v3/x509v3.h @@ -354,7 +354,6 @@ typedef struct x509_purpose_st { DECLARE_STACK_OF(X509_PURPOSE) -void ERR_load_X509V3_strings(void); int i2d_BASIC_CONSTRAINTS(BASIC_CONSTRAINTS *a, unsigned char **pp); BASIC_CONSTRAINTS *d2i_BASIC_CONSTRAINTS(BASIC_CONSTRAINTS **a, unsigned char **pp, long length); BASIC_CONSTRAINTS *BASIC_CONSTRAINTS_new(void); diff --git a/rsaref/rsaref.h b/rsaref/rsaref.h index 9bfcd704dd..4e99bda059 100644 --- a/rsaref/rsaref.h +++ b/rsaref/rsaref.h @@ -131,7 +131,6 @@ int R_GetRandomBytesNeeded(unsigned int *,RSARandomState *rnd); int R_RandomUpdate(RSARandomState *rnd, unsigned char *data, unsigned int n); int R_RandomFinal(RSARandomState *rnd); -void ERR_load_RSAREF_strings(void ); RSA_METHOD *RSA_PKCS1_RSAref(void ); #ifdef __cplusplus diff --git a/ssl/ssl.h b/ssl/ssl.h index 73bcea6b4a..1b8fce8f41 100644 --- a/ssl/ssl.h +++ b/ssl/ssl.h @@ -989,7 +989,6 @@ int SSL_add_dir_cert_subjects_to_stack(STACK_OF(X509_NAME) *stackCAs, const char *dir); #endif -void ERR_load_SSL_strings(void ); void SSL_load_error_strings(void ); char * SSL_state_string(SSL *s); char * SSL_rstate_string(SSL *s); -- 2.25.1