summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-09-08 23:58:13 +0200
committerBodo Möller <bodo@openssl.org>1999-09-08 23:58:13 +0200
commit396f631458c34469bf12a575f0fccc44282e0d1d (patch)
tree06d18370963412a753b75c750837ea2da1c6976f /ssl
parentFix typo. (diff)
downloadopenssl-396f631458c34469bf12a575f0fccc44282e0d1d.tar.xz
openssl-396f631458c34469bf12a575f0fccc44282e0d1d.zip
some more patches for avoiding problems with non-automatic variables
Diffstat (limited to 'ssl')
-rw-r--r--ssl/ssltest.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ssl/ssltest.c b/ssl/ssltest.c
index b62f5ad4f7..ec57c71026 100644
--- a/ssl/ssltest.c
+++ b/ssl/ssltest.c
@@ -85,15 +85,15 @@
# define TEST_CLIENT_CERT "../apps/client.pem"
#endif
-int MS_CALLBACK verify_callback(int ok, X509_STORE_CTX *ctx);
+static int MS_CALLBACK verify_callback(int ok, X509_STORE_CTX *ctx);
#ifndef NO_RSA
static RSA MS_CALLBACK *tmp_rsa_cb(SSL *s, int is_export,int keylength);
#endif
#ifndef NO_DH
static DH *get_dh512(void);
#endif
-BIO *bio_err=NULL;
-BIO *bio_stdout=NULL;
+static BIO *bio_err=NULL;
+static BIO *bio_stdout=NULL;
static char *cipher=NULL;
int verbose=0;
@@ -1104,7 +1104,7 @@ err:
return(ret);
}
-int MS_CALLBACK verify_callback(int ok, X509_STORE_CTX *ctx)
+static int MS_CALLBACK verify_callback(int ok, X509_STORE_CTX *ctx)
{
char *s,buf[256];