Commit 0cc39579 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

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

ordinals to libeay.num.
parent 6420b77f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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]

+1 −0
Original line number Diff line number Diff line
@@ -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();
+15 −7
Original line number Diff line number Diff line
@@ -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();
+4 −0
Original line number Diff line number Diff line
@@ -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();
+1 −0
Original line number Diff line number Diff line
@@ -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();
Loading