diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-02-22 01:26:40 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-02-22 01:26:40 +0000 |
commit | e527ba09a66837cad0d8973409e660474db63f89 (patch) | |
tree | 9cafa6c8c7d85d4e5cb1957b995ffa815745915d /ssl/s3_lib.c | |
parent | 60e31c3a4bbdbdb4259eaa3c48639f3e3915f380 (diff) | |
download | openssl-e527ba09a66837cad0d8973409e660474db63f89.tar.gz |
Various changes to make this stuff compile under Win32 and VC++ with and
without -debug option to mk1mf.pl. Change _export to is_export (_export is
a reserved word under VC++). Add yucky function prototype function pointer
casts. Sanitise the included files in crypto/x509v3.
Also changed ssleay.exe target to openssl.exe
Diffstat (limited to 'ssl/s3_lib.c')
-rw-r--r-- | ssl/s3_lib.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c index b6f5d82f21..b7bcf86476 100644 --- a/ssl/s3_lib.c +++ b/ssl/s3_lib.c @@ -623,7 +623,11 @@ char *parg; } /* break; */ case SSL_CTRL_SET_TMP_RSA_CB: +#ifndef NOPROTO + cert->rsa_tmp_cb=(RSA *(*)(SSL *, int, int))parg; +#else cert->rsa_tmp_cb=(RSA *(*)())parg; +#endif break; #endif #ifndef NO_DH @@ -650,7 +654,11 @@ char *parg; } /*break; */ case SSL_CTRL_SET_TMP_DH_CB: +#ifndef NOPROTO + cert->dh_tmp_cb=(DH *(*)(SSL *, int, int))parg; +#else cert->dh_tmp_cb=(DH *(*)())parg; +#endif break; #endif /* A Thawte special :-) */ |