aboutsummaryrefslogtreecommitdiffstats
path: root/ssl/ssl_lib.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-01-31 17:30:18 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-01-31 17:30:18 +0000
commit9b3086fe382e7b0f53b8634d0e75f1a659ab2653 (patch)
tree462330501c21d687e5389fed2b76ab350db16ffa /ssl/ssl_lib.c
parentd433f9014edac49202f34ba464534eafd4bf6701 (diff)
downloadopenssl-9b3086fe382e7b0f53b8634d0e75f1a659ab2653.tar.gz
Fix various stuff: that VC++ 5.0 chokes on:
1. Add *lots* of missing prototypes for static ssl functions. 2. VC++ doesn't understand the 'LL' suffix for 64 bits constants: change bn.org 3. Add a few missing prototypes in pem.org Fix mk1mf.pl so it outputs a Makefile that doesn't choke Win95. Fix mkdef.pl so it doesn't truncate longer names.
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r--ssl/ssl_lib.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index 2bc0e3f2b2..c9a2285199 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -1043,7 +1043,11 @@ char *arg;
void SSL_CTX_set_verify(ctx,mode,cb)
SSL_CTX *ctx;
int mode;
+#ifndef NOPROTO
+int (*cb)(int, X509_STORE_CTX *);
+#else
int (*cb)();
+#endif
{
ctx->default_verify_mode=mode;
ctx->default_verify_callback=cb;