提交 0cc39579 编写于 作者: D Dr. Stephen Henson

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

ordinals to libeay.num.
上级 6420b77f
......@@ -5,6 +5,11 @@
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.
[Ralf S. Engelschall]
......
......@@ -624,6 +624,7 @@ int i2d_ASN1_GENERALIZEDTIME();
ASN1_GENERALIZEDTIME * d2i_ASN1_GENERALIZEDTIME();
int i2d_ASN1_TIME();
ASN1_TIME * d2i_ASN1_TIME();
ASN1_TIME *ASN1_TIME_set();
int i2d_ASN1_SET();
STACK * d2i_ASN1_SET();
int a2d_ASN1_OBJECT();
......
......@@ -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_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() */
#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)
......@@ -445,6 +438,14 @@ int BIO_get_ex_new_index(long argl, char *argp, int (*new_func)(),
#endif
#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)
BIO_METHOD *BIO_s_file_internal(void);
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
# endif /* FP_API */
#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)
BIO_METHOD *BIO_s_file_internal();
BIO *BIO_new_file_internal();
......
......@@ -534,6 +534,7 @@ BN_MONT_CTX *BN_MONT_CTX_new();
void BN_MONT_CTX_init();
void BN_MONT_CTX_free();
int BN_MONT_CTX_set();
BN_MONT_CTX *BN_MONT_CTX_copy();
BN_BLINDING *BN_BLINDING_new();
void BN_BLINDING_free();
......@@ -541,6 +542,9 @@ int BN_BLINDING_update();
int BN_BLINDING_convert();
int BN_BLINDING_invert();
void BN_set_params();
int BN_get_params();
void bn_mul_normal();
void bn_mul_comba8();
void bn_mul_comba4();
......
......@@ -694,6 +694,7 @@ EVP_MD *EVP_sha1();
EVP_MD *EVP_dss();
EVP_MD *EVP_dss1();
EVP_MD *EVP_mdc2();
EVP_MD *EVP_ripemd160();
EVP_CIPHER *EVP_enc_null();
EVP_CIPHER *EVP_des_ecb();
......
......@@ -482,6 +482,8 @@ int PEM_ASN1_write_bio();
int PEM_SealInit();
void PEM_SealUpdate();
int PEM_SealFinal();
void PEM_SignInit();
void PEM_SignUpdate();
int PEM_SignFinal();
void ERR_load_PEM_strings();
......
......@@ -290,6 +290,11 @@ void GENERAL_NAME_free();
STACK *i2v_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();
PKEY_USAGE_PERIOD *d2i_PKEY_USAGE_PERIOD();
PKEY_USAGE_PERIOD *PKEY_USAGE_PERIOD_new();
......
......@@ -149,8 +149,8 @@ extern "C" {
#if !defined(WINNT)
#define NO_SYSLOG
#define NO_DIRENT
#endif
#define NO_DIRENT
#endif
......
......@@ -1219,3 +1219,13 @@ BIO_f_reliable 1244
PKCS7_dataFinal 1245
PKCS7_dataDecode 1246
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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册