Add missing funtions from non ANSI section of header files and add missing

ordinals to libeay.num.
This commit is contained in:
Dr. Stephen Henson 1999-03-08 22:46:56 +00:00
parent 6420b77fec
commit 0cc395796b
9 changed files with 44 additions and 8 deletions

View file

@ -5,6 +5,11 @@
Changes between 0.9.1c and 0.9.2 Changes between 0.9.1c and 0.9.2
*) Move various #ifdefs around so NO_SYSLOG, NO_DIRENT etc are now selected
in e_os.h. Audit of header files to check ANSI and non ANSI
sections: 10 functions were absent from non ANSI section and not exported
from Windows DLLs. Fixed up libeay.num for new functions.
*) Make `openssl version' output lines consistent. *) Make `openssl version' output lines consistent.
[Ralf S. Engelschall] [Ralf S. Engelschall]

View file

@ -624,6 +624,7 @@ int i2d_ASN1_GENERALIZEDTIME();
ASN1_GENERALIZEDTIME * d2i_ASN1_GENERALIZEDTIME(); ASN1_GENERALIZEDTIME * d2i_ASN1_GENERALIZEDTIME();
int i2d_ASN1_TIME(); int i2d_ASN1_TIME();
ASN1_TIME * d2i_ASN1_TIME(); ASN1_TIME * d2i_ASN1_TIME();
ASN1_TIME *ASN1_TIME_set();
int i2d_ASN1_SET(); int i2d_ASN1_SET();
STACK * d2i_ASN1_SET(); STACK * d2i_ASN1_SET();
int a2d_ASN1_OBJECT(); int a2d_ASN1_OBJECT();

View file

@ -322,13 +322,6 @@ typedef struct bio_f_buffer_ctx_struct
#define BIO_set_app_data(s,arg) BIO_set_ex_data(s,0,(char *)arg) #define BIO_set_app_data(s,arg) BIO_set_ex_data(s,0,(char *)arg)
#define BIO_get_app_data(s) BIO_get_ex_data(s,0) #define BIO_get_app_data(s) BIO_get_ex_data(s,0)
int BIO_get_ex_num(BIO *bio);
int BIO_set_ex_data(BIO *bio,int idx,char *data);
char *BIO_get_ex_data(BIO *bio,int idx);
void BIO_set_ex_free_func(BIO *bio,int idx,void (*cb)());
int BIO_get_ex_new_index(long argl, char *argp, int (*new_func)(),
int (*dup_func)(), void (*free_func)());
/* BIO_s_connect() and BIO_s_socks4a_connect() */ /* BIO_s_connect() and BIO_s_socks4a_connect() */
#define BIO_set_conn_hostname(b,name) BIO_ctrl(b,BIO_C_SET_CONNECT,0,(char *)name) #define BIO_set_conn_hostname(b,name) BIO_ctrl(b,BIO_C_SET_CONNECT,0,(char *)name)
#define BIO_set_conn_port(b,port) BIO_ctrl(b,BIO_C_SET_CONNECT,1,(char *)port) #define BIO_set_conn_port(b,port) BIO_ctrl(b,BIO_C_SET_CONNECT,1,(char *)port)
@ -445,6 +438,14 @@ int BIO_get_ex_new_index(long argl, char *argp, int (*new_func)(),
#endif #endif
#ifndef NOPROTO #ifndef NOPROTO
int BIO_get_ex_num(BIO *bio);
int BIO_set_ex_data(BIO *bio,int idx,char *data);
char *BIO_get_ex_data(BIO *bio,int idx);
void BIO_set_ex_free_func(BIO *bio,int idx,void (*cb)());
int BIO_get_ex_new_index(long argl, char *argp, int (*new_func)(),
int (*dup_func)(), void (*free_func)());
# if defined(WIN16) && defined(_WINDLL) # if defined(WIN16) && defined(_WINDLL)
BIO_METHOD *BIO_s_file_internal(void); BIO_METHOD *BIO_s_file_internal(void);
BIO *BIO_new_file_internal(char *filename, char *mode); BIO *BIO_new_file_internal(char *filename, char *mode);
@ -461,6 +462,13 @@ BIO *BIO_new_fp(FILE *stream, int close_flag);
# define BIO_new_fp_internal BIO_s_file # define BIO_new_fp_internal BIO_s_file
# endif /* FP_API */ # endif /* FP_API */
#else #else
int BIO_get_ex_num();
int BIO_set_ex_data();
char *BIO_get_ex_data();
void BIO_set_ex_free_func();
int BIO_get_ex_new_index();
# if defined(WIN16) && defined(_WINDLL) # if defined(WIN16) && defined(_WINDLL)
BIO_METHOD *BIO_s_file_internal(); BIO_METHOD *BIO_s_file_internal();
BIO *BIO_new_file_internal(); BIO *BIO_new_file_internal();

View file

@ -534,6 +534,7 @@ BN_MONT_CTX *BN_MONT_CTX_new();
void BN_MONT_CTX_init(); void BN_MONT_CTX_init();
void BN_MONT_CTX_free(); void BN_MONT_CTX_free();
int BN_MONT_CTX_set(); int BN_MONT_CTX_set();
BN_MONT_CTX *BN_MONT_CTX_copy();
BN_BLINDING *BN_BLINDING_new(); BN_BLINDING *BN_BLINDING_new();
void BN_BLINDING_free(); void BN_BLINDING_free();
@ -541,6 +542,9 @@ int BN_BLINDING_update();
int BN_BLINDING_convert(); int BN_BLINDING_convert();
int BN_BLINDING_invert(); int BN_BLINDING_invert();
void BN_set_params();
int BN_get_params();
void bn_mul_normal(); void bn_mul_normal();
void bn_mul_comba8(); void bn_mul_comba8();
void bn_mul_comba4(); void bn_mul_comba4();

View file

@ -694,6 +694,7 @@ EVP_MD *EVP_sha1();
EVP_MD *EVP_dss(); EVP_MD *EVP_dss();
EVP_MD *EVP_dss1(); EVP_MD *EVP_dss1();
EVP_MD *EVP_mdc2(); EVP_MD *EVP_mdc2();
EVP_MD *EVP_ripemd160();
EVP_CIPHER *EVP_enc_null(); EVP_CIPHER *EVP_enc_null();
EVP_CIPHER *EVP_des_ecb(); EVP_CIPHER *EVP_des_ecb();

View file

@ -482,6 +482,8 @@ int PEM_ASN1_write_bio();
int PEM_SealInit(); int PEM_SealInit();
void PEM_SealUpdate(); void PEM_SealUpdate();
int PEM_SealFinal(); int PEM_SealFinal();
void PEM_SignInit();
void PEM_SignUpdate();
int PEM_SignFinal(); int PEM_SignFinal();
void ERR_load_PEM_strings(); void ERR_load_PEM_strings();

View file

@ -290,6 +290,11 @@ void GENERAL_NAME_free();
STACK *i2v_GENERAL_NAME(); STACK *i2v_GENERAL_NAME();
GENERAL_NAME *v2i_GENERAL_NAME(); GENERAL_NAME *v2i_GENERAL_NAME();
int i2d_AUTHORITY_KEYID();
AUTHORITY_KEYID *d2i_AUTHORITY_KEYID();
AUTHORITY_KEYID *AUTHORITY_KEYID_new();
void AUTHORITY_KEYID_free();
int i2d_PKEY_USAGE_PERIOD(); int i2d_PKEY_USAGE_PERIOD();
PKEY_USAGE_PERIOD *d2i_PKEY_USAGE_PERIOD(); PKEY_USAGE_PERIOD *d2i_PKEY_USAGE_PERIOD();
PKEY_USAGE_PERIOD *PKEY_USAGE_PERIOD_new(); PKEY_USAGE_PERIOD *PKEY_USAGE_PERIOD_new();

2
e_os.h
View file

@ -149,8 +149,8 @@ extern "C" {
#if !defined(WINNT) #if !defined(WINNT)
#define NO_SYSLOG #define NO_SYSLOG
#define NO_DIRENT
#endif #endif
#define NO_DIRENT
#endif #endif

View file

@ -1219,3 +1219,13 @@ BIO_f_reliable 1244
PKCS7_dataFinal 1245 PKCS7_dataFinal 1245
PKCS7_dataDecode 1246 PKCS7_dataDecode 1246
X509V3_EXT_CRL_add_conf 1247 X509V3_EXT_CRL_add_conf 1247
BN_set_params 1248
BN_get_params 1249
BIO_get_ex_num 1250
BIO_set_ex_free_func 1251
EVP_ripemd160 1252
ASN1_TIME_set 1253
i2d_AUTHORITY_KEYID 1254
d2i_AUTHORITY_KEYID 1255
AUTHORITY_KEYID_new 1256
AUTHORITY_KEYID_free 1257