if (length == 0) length=(unsigned int)num;
if(derout) {
- if(BIO_write(derout, str + offset, length) != length) {
+ if(BIO_write(derout, str + offset, length) != (int)length) {
BIO_printf(bio_err, "Error writing output\n");
ERR_print_errors(bio_err);
goto end;
#ifndef NO_FP_API
int PEM_ASN1_write(int (*i2d)(), const char *name, FILE *fp, char *x,
const EVP_CIPHER *enc, unsigned char *kstr, int klen,
- int (*callback)())
+ pem_password_cb *callback)
{
BIO *b;
int ret;
}
int PEM_do_header(EVP_CIPHER_INFO *cipher, unsigned char *data, long *plen,
- int (*callback)())
+ pem_password_cb *callback)
{
int i,j,o,klen;
long len;
perl util\mkfiles.pl >MINFO\r
rem perl util\mk1mf.pl VC-MSDOS no-sock >ms\msdos.mak\r
rem perl util\mk1mf.pl VC-W31-32 >ms\w31.mak\r
-perl util\mk1mf.pl VC-W31-32 dll >ms\w31dll.mak\r
-perl util\mk1mf.pl VC-WIN32 no-asm >ms\nt.mak\r
-perl util\mk1mf.pl VC-WIN32 dll no-asm >ms\ntdll.mak\r
+perl util\mk1mf.pl dll VC-W31-32 >ms\w31dll.mak\r
+perl util\mk1mf.pl no-asm VC-WIN32 >ms\nt.mak\r
+perl util\mk1mf.pl dll no-asm VC-WIN32 >ms\ntdll.mak\r
\r
perl util\mkdef.pl 16 libeay > ms\libeay16.def\r
perl util\mkdef.pl 32 libeay > ms\libeay32.def\r
ctx->default_passwd_callback=cb;
}
-void SSL_CTX_set_cert_verify_cb(SSL_CTX *ctx,int (*cb)(),char *arg)
+void SSL_CTX_set_cert_verify_callback(SSL_CTX *ctx,int (*cb)(),char *arg)
{
ctx->app_verify_callback=cb;
ctx->app_verify_arg=arg;