artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8042939
)
Explicitely initialize two static variables introduced in the previous
author
jca
<jca@openbsd.org>
Mon, 19 May 2014 20:05:09 +0000
(20:05 +0000)
committer
jca
<jca@openbsd.org>
Mon, 19 May 2014 20:05:09 +0000
(20:05 +0000)
commit, to please lteo@
usr.bin/ftp/fetch.c
patch
|
blob
|
history
diff --git
a/usr.bin/ftp/fetch.c
b/usr.bin/ftp/fetch.c
index
2385759
..
8083a8a
100644
(file)
--- a/
usr.bin/ftp/fetch.c
+++ b/
usr.bin/ftp/fetch.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: fetch.c,v 1.1
19 2014/05/19 20:03:16
jca Exp $ */
+/* $OpenBSD: fetch.c,v 1.1
20 2014/05/19 20:05:09
jca Exp $ */
/* $NetBSD: fetch.c,v 1.14 1997/08/18 10:20:20 lukem Exp $ */
/*-
@@
-334,8
+334,8
@@
ssl_check_hostname(X509 *cert, char *host)
SSL_CTX *
ssl_get_ssl_ctx(void)
{
- static SSL_CTX *ssl_ctx;
- static int libssl_loaded;
+ static SSL_CTX *ssl_ctx
= NULL
;
+ static int libssl_loaded
= 0
;
if (ssl_ctx != NULL)
return ssl_ctx;