projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
b5348a0
)
remove redundant ERR_load_... declarations
author
Bodo Möller
<bodo@openssl.org>
Mon, 17 Dec 2001 19:22:23 +0000
(19:22 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Mon, 17 Dec 2001 19:22:23 +0000
(19:22 +0000)
18 files changed:
crypto/asn1/asn1.h
patch
|
blob
|
history
crypto/bio/bio.h
patch
|
blob
|
history
crypto/bn/bn.h
patch
|
blob
|
history
crypto/buffer/buffer.h
patch
|
blob
|
history
crypto/conf/conf.h
patch
|
blob
|
history
crypto/dh/dh.h
patch
|
blob
|
history
crypto/dsa/dsa.h
patch
|
blob
|
history
crypto/dso/dso.h
patch
|
blob
|
history
crypto/ec/ectest.c
patch
|
blob
|
history
crypto/evp/evp.h
patch
|
blob
|
history
crypto/objects/objects.h
patch
|
blob
|
history
crypto/ocsp/ocsp.h
patch
|
blob
|
history
crypto/pem/pem.h
patch
|
blob
|
history
crypto/pkcs12/pkcs12.h
patch
|
blob
|
history
crypto/pkcs7/pkcs7.h
patch
|
blob
|
history
crypto/x509/x509.h
patch
|
blob
|
history
crypto/x509v3/x509v3.h
patch
|
blob
|
history
ssl/ssl.h
patch
|
blob
|
history
diff --git
a/crypto/asn1/asn1.h
b/crypto/asn1/asn1.h
index 18ecad3451d42097fb9abbaa878518fd35601b0f..cdfca6cf1245b3d574bffe4ff79d7adb88037904 100644
(file)
--- a/
crypto/asn1/asn1.h
+++ b/
crypto/asn1/asn1.h
@@
-886,8
+886,6
@@
void ASN1_HEADER_free(ASN1_HEADER *a);
int ASN1_UNIVERSALSTRING_to_string(ASN1_UNIVERSALSTRING *s);
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);
/* 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 09a500d377b215d4160c808de0689d326c2b2cc1..379cd5832436157ac2f54440b4347594cd937388 100644
(file)
--- a/
crypto/bio/bio.h
+++ b/
crypto/bio/bio.h
@@
-591,8
+591,6
@@
int BIO_sock_init(void );
void BIO_sock_cleanup(void);
int BIO_set_tcp_ndelay(int sock,int turn_on);
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);
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 ba8cbcba7e8ed78c45fef17ee8fc2077076a1d7c..d25b49c9d8df8676cabd60290d310275bda980ff 100644
(file)
--- a/
crypto/bn/bn.h
+++ b/
crypto/bn/bn.h
@@
-420,7
+420,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);
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);
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 afe7a46d438d1197f95655544da0e3ae2f0bfc9f..11e2d0359a11bf4cf3044e01f3b4da8f7532d86c 100644
(file)
--- 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);
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.
/* 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 32246ff52c27cd61b6344f3546cf63a13a0b82de..3b767c1dcfe9db962916a9f597f843918fac1198 100644
(file)
--- a/
crypto/conf/conf.h
+++ b/
crypto/conf/conf.h
@@
-110,7
+110,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 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 */
/* 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/dh/dh.h
b/crypto/dh/dh.h
index 32ea17a4f514a4d707b225a1feae7fcd4d5079ae..1152fbb2d3c6390bef681b628d081c72da2bd10f 100644
(file)
--- a/
crypto/dh/dh.h
+++ b/
crypto/dh/dh.h
@@
-180,7
+180,6
@@
int DHparams_print(BIO *bp, const DH *x);
#else
int DHparams_print(char *bp, const DH *x);
#endif
#else
int DHparams_print(char *bp, const 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
/* 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 dcdd28f94d497c1d1448813ec00eeb8b80fedb2b..377a76799be18648bfc4210e575e0f5f7094fbae 100644
(file)
--- a/
crypto/dsa/dsa.h
+++ b/
crypto/dsa/dsa.h
@@
-183,8
+183,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);
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, const unsigned char **pp, long length);
DSA * d2i_DSAPrivateKey(DSA **a, const unsigned char **pp, long length);
DSA * d2i_DSAparams(DSA **a, const unsigned char **pp, long length);
DSA * d2i_DSAPublicKey(DSA **a, const unsigned char **pp, long length);
DSA * d2i_DSAPrivateKey(DSA **a, const unsigned char **pp, long length);
DSA * d2i_DSAparams(DSA **a, const unsigned char **pp, long length);
diff --git
a/crypto/dso/dso.h
b/crypto/dso/dso.h
index a1678454a5ad6f6d0bacb498e367f53a83d05c26..d87fb72a2f8a08af4e6d1fa8636340d2109b4747 100644
(file)
--- a/
crypto/dso/dso.h
+++ b/
crypto/dso/dso.h
@@
-261,7
+261,6
@@
DSO_METHOD *DSO_METHOD_win32(void);
/* If VMS is defined, use shared images. If not, return NULL. */
DSO_METHOD *DSO_METHOD_vms(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
/* BEGIN ERROR CODES */
/* The following lines are auto generated by the script mkerr.pl. Any changes
diff --git
a/crypto/ec/ectest.c
b/crypto/ec/ectest.c
index b6ede1c3c6ab004a3e25bff4c480e62b48a0537e..d720050859ed05b6ecef3e6a5b2c5e8c47849b4f 100644
(file)
--- a/
crypto/ec/ectest.c
+++ b/
crypto/ec/ectest.c
@@
-589,7
+589,7
@@
int main(int argc, char *argv[])
}
}
-#if
0
+#if
1
timings(P_192, 0, ctx);
timings(P_192, 1, ctx);
timings(P_224, 0, ctx);
timings(P_192, 0, ctx);
timings(P_192, 1, ctx);
timings(P_224, 0, ctx);
diff --git
a/crypto/evp/evp.h
b/crypto/evp/evp.h
index 255f957f486bf5e1de711013d44611ae2da70a70..8d86d85f8d988dd8eddcfbc0635eb98fe5d9b97a 100644
(file)
--- a/
crypto/evp/evp.h
+++ b/
crypto/evp/evp.h
@@
-538,8
+538,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);
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);
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 302238ca1d841df1cd68b9ebf9417d5104aa0e5e..de10532813653e3c4961ba83f9913d797c68c3ae 100644
(file)
--- a/
crypto/objects/objects.h
+++ b/
crypto/objects/objects.h
@@
-1011,8
+1011,6
@@
int OBJ_cmp(const ASN1_OBJECT *a,const ASN1_OBJECT *b);
const char * OBJ_bsearch(const char *key,const char *base,int num,int size,
int (*cmp)(const void *, const void *));
const char * OBJ_bsearch(const char *key,const 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(const ASN1_OBJECT *obj);
int OBJ_create(const char *oid,const char *sn,const char *ln);
int OBJ_new_nid(int num);
int OBJ_add_object(const ASN1_OBJECT *obj);
int OBJ_create(const char *oid,const char *sn,const char *ln);
diff --git
a/crypto/ocsp/ocsp.h
b/crypto/ocsp/ocsp.h
index 357bfd99b2ffad919a9d20d53621da27da828200..fab3c0318215160e28a1b9650d5b845dba88c359 100644
(file)
--- a/
crypto/ocsp/ocsp.h
+++ b/
crypto/ocsp/ocsp.h
@@
-554,8
+554,6
@@
int OCSP_RESPONSE_print(BIO *bp, OCSP_RESPONSE* o, unsigned long flags);
int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *certs,
X509_STORE *st, unsigned long flags);
int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *certs,
X509_STORE *st, unsigned long flags);
-void ERR_load_OCSP_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.
/* 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/pem/pem.h
b/crypto/pem/pem.h
index 188331f24829dfa565172b1bc0a7fc2da7d2a015..3785fca77dd35263ffb4e02ff7cef57657ce50ec 100644
(file)
--- a/
crypto/pem/pem.h
+++ b/
crypto/pem/pem.h
@@
-528,8
+528,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);
int PEM_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret,
unsigned int *siglen, EVP_PKEY *pkey);
-void ERR_load_PEM_strings(void);
-
int PEM_def_callback(char *buf, int num, int w, void *key);
void PEM_proc_type(char *buf, int type);
void PEM_dek_info(char *buf, const char *type, int len, char *str);
int PEM_def_callback(char *buf, int num, int w, void *key);
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 52fd37714c67e91ba10f23b8e400a976e73c42a2..1786b6d4f3cef1f263c46f7cab72605d81c04226 100644
(file)
--- a/
crypto/pkcs12/pkcs12.h
+++ b/
crypto/pkcs12/pkcs12.h
@@
-243,7
+243,6
@@
DECLARE_ASN1_FUNCTIONS(PKCS12_BAGS)
DECLARE_ASN1_ITEM(PKCS12_SAFEBAGS)
DECLARE_ASN1_ITEM(PKCS12_AUTHSAFES)
DECLARE_ASN1_ITEM(PKCS12_SAFEBAGS)
DECLARE_ASN1_ITEM(PKCS12_AUTHSAFES)
-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);
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 cfade5ea56f9da03c693d155c7095e35d953b563..5819700a85029a8d0a700f0c82fc63594de7a828 100644
(file)
--- a/
crypto/pkcs7/pkcs7.h
+++ b/
crypto/pkcs7/pkcs7.h
@@
-300,8
+300,6
@@
DECLARE_ASN1_FUNCTIONS(PKCS7)
DECLARE_ASN1_ITEM(PKCS7_ATTR_SIGN)
DECLARE_ASN1_ITEM(PKCS7_ATTR_VERIFY)
DECLARE_ASN1_ITEM(PKCS7_ATTR_SIGN)
DECLARE_ASN1_ITEM(PKCS7_ATTR_VERIFY)
-void ERR_load_PKCS7_strings(void);
-
long PKCS7_ctrl(PKCS7 *p7, int cmd, long larg, char *parg);
long PKCS7_ctrl(PKCS7 *p7, int cmd, long larg, char *parg);
diff --git
a/crypto/x509/x509.h
b/crypto/x509/x509.h
index 9a4b0db4356c4c31661a4da5127489621b13f403..c75aa0c717421856eb55229205cd20ab8636ebc7 100644
(file)
--- a/
crypto/x509/x509.h
+++ b/
crypto/x509/x509.h
@@
-829,7
+829,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);
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 );
DECLARE_ASN1_FUNCTIONS(X509_ALGOR)
DECLARE_ASN1_FUNCTIONS(X509_VAL)
DECLARE_ASN1_FUNCTIONS(X509_ALGOR)
DECLARE_ASN1_FUNCTIONS(X509_VAL)
diff --git
a/crypto/x509v3/x509v3.h
b/crypto/x509v3/x509v3.h
index d1c9828f78b1d5acfb0f5a6115be22d1b45d81fa..daecc55271e4dbf46cd9c5e898c89278519c978a 100644
(file)
--- a/
crypto/x509v3/x509v3.h
+++ b/
crypto/x509v3/x509v3.h
@@
-404,8
+404,6
@@
typedef struct x509_purpose_st {
DECLARE_STACK_OF(X509_PURPOSE)
DECLARE_STACK_OF(X509_PURPOSE)
-void ERR_load_X509V3_strings(void);
-
DECLARE_ASN1_FUNCTIONS(BASIC_CONSTRAINTS)
DECLARE_ASN1_FUNCTIONS(SXNET)
DECLARE_ASN1_FUNCTIONS(BASIC_CONSTRAINTS)
DECLARE_ASN1_FUNCTIONS(SXNET)
diff --git
a/ssl/ssl.h
b/ssl/ssl.h
index 611a260c7b24fdee5600ee523f4cca76756d2f51..7676946ec6819779996cbafb61fd3c6011bcaa3e 100644
(file)
--- a/
ssl/ssl.h
+++ b/
ssl/ssl.h
@@
-1134,7
+1134,6
@@
int SSL_add_dir_cert_subjects_to_stack(STACK_OF(X509_NAME) *stackCAs,
#endif
#endif
-void ERR_load_SSL_strings(void );
void SSL_load_error_strings(void );
const char *SSL_state_string(SSL *s);
const char *SSL_rstate_string(SSL *s);
void SSL_load_error_strings(void );
const char *SSL_state_string(SSL *s);
const char *SSL_rstate_string(SSL *s);