From: Dr. Stephen Henson Date: Sun, 25 Apr 1999 16:38:52 +0000 (+0000) Subject: Various header consistency fixes. X-Git-Tag: OpenSSL_0_9_3beta1~238 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c74b3a6037b329dbd9dfbaf1a103e2cc707ecdbc;p=oweals%2Fopenssl.git Various header consistency fixes. --- diff --git a/crypto/crypto.h b/crypto/crypto.h index 0bf74a1655..dfed65b790 100644 --- a/crypto/crypto.h +++ b/crypto/crypto.h @@ -318,6 +318,10 @@ int CRYPTO_add_lock(); void CRYPTO_set_mem_functions(); void CRYPTO_get_mem_functions(); +void CRYPTO_set_locked_mem_functions(); +void CRYPTO_get_locked_mem_functions(); +void *CRYPTO_malloc_locked(); +void CRYPTO_free_locked(); void *CRYPTO_malloc(); void *CRYPTO_realloc(); void CRYPTO_free(); diff --git a/crypto/des/des.h b/crypto/des/des.h index fba3d81c01..aaefeaa00c 100644 --- a/crypto/des/des.h +++ b/crypto/des/des.h @@ -226,6 +226,8 @@ int des_read_pw(char *buf,char *buff,int size,const char *prompt,int verify); /* Extra functions from Mark Murray */ void des_cblock_print_file(const des_cblock cb, FILE *fp); + +#ifdef FreeBSD /* The following functions are not in the normal unix build or the * SSLeay build. When using the SSLeay build, use RAND_seed() * and RAND_bytes() instead. */ @@ -234,6 +236,7 @@ void des_init_random_number_generator(des_cblock *key); void des_set_random_generator_seed(des_cblock *key); void des_set_sequence_number(des_cblock new_sequence_number); void des_generate_random_block(des_cblock *block); +#endif #else diff --git a/crypto/err/err.h b/crypto/err/err.h index 617fce7f83..4860d45f1d 100644 --- a/crypto/err/err.h +++ b/crypto/err/err.h @@ -263,8 +263,10 @@ void ERR_set_error_data(); unsigned long ERR_get_error(); unsigned long ERR_get_error_line(); +unsigned long ERR_get_error_line_data(); unsigned long ERR_peek_error(); unsigned long ERR_peek_error_line(); +unsigned long ERR_peek_error_line_data(); void ERR_clear_error(); char *ERR_error_string(); char *ERR_lib_error_string(); diff --git a/crypto/pem/pem.h b/crypto/pem/pem.h index c4098b500f..c2e93bbd92 100644 --- a/crypto/pem/pem.h +++ b/crypto/pem/pem.h @@ -362,6 +362,8 @@ 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 4ba27db171..72d1f6f82e 100644 --- a/crypto/pkcs12/pkcs12.h +++ b/crypto/pkcs12/pkcs12.h @@ -278,6 +278,7 @@ ASN1_STRING *PKCS12_i2d_encrypt(); PKCS12 *PKCS12_init(); int PKCS12_key_gen_asc(); int PKCS12_key_gen_uni(); +int PKCS12_PBE_keyivgen(); int PKCS12_gen_mac(); int PKCS12_verify_mac(); int PKCS12_set_mac(); diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h index 0357487c25..e7749af2a7 100644 --- a/crypto/x509/x509.h +++ b/crypto/x509/x509.h @@ -941,6 +941,7 @@ X509_ATTRIBUTE *X509_ATTRIBUTE_dup(); X509_EXTENSION *X509_EXTENSION_dup(); X509_CRL *X509_CRL_dup(); X509_REQ *X509_REQ_dup(); +X509_ALGOR *X509_ALGOR_dup(); X509_NAME *X509_NAME_dup(); X509_NAME_ENTRY *X509_NAME_ENTRY_dup(); RSA *RSAPublicKey_dup(); diff --git a/crypto/x509v3/x509v3.h b/crypto/x509v3/x509v3.h index b6063f1589..2a5bf08e81 100644 --- a/crypto/x509v3/x509v3.h +++ b/crypto/x509v3/x509v3.h @@ -511,6 +511,21 @@ NOTICEREF *NOTICEREF_new(); NOTICEREF *d2i_NOTICEREF(); void NOTICEREF_free(); +int i2d_CRL_DIST_POINTS(); +STACK_OF(DIST_POINT) *CRL_DIST_POINTS_new(); +void CRL_DIST_POINTS_free(); +STACK_OF(DIST_POINT) *d2i_CRL_DIST_POINTS(); + +int i2d_DIST_POINT(); +DIST_POINT *DIST_POINT_new(); +DIST_POINT *d2i_DIST_POINT(); +void DIST_POINT_free(); + +int i2d_DIST_POINT_NAME(); +DIST_POINT_NAME *DIST_POINT_NAME_new(); +void DIST_POINT_NAME_free(); +DIST_POINT_NAME *d2i_DIST_POINT_NAME(); + char * X509V3_get_string(); STACK * X509V3_get_section(); void X509V3_string_free(); @@ -518,6 +533,7 @@ void X509V3_section_free(); void X509V3_set_ctx(); int X509V3_add_value(); +int X509V3_add_value_uchar(); int X509V3_add_value_bool(); int X509V3_add_value_int(); char *i2s_ASN1_INTEGER(); diff --git a/ssl/ssl.h b/ssl/ssl.h index b111f09d1d..0fe3134903 100644 --- a/ssl/ssl.h +++ b/ssl/ssl.h @@ -1117,6 +1117,7 @@ int SSL_set_cipher_list(); void SSL_set_read_ahead(); int SSL_get_verify_mode(); +int (*SSL_get_verify_callback())(); void SSL_set_verify(); int SSL_use_RSAPrivateKey(); int SSL_use_RSAPrivateKey_ASN1();