From f8e1c190d56c5ec53e3ae5ee72669862460cfc22 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 11 Sep 2018 22:34:00 +0000 Subject: minor fixes for Windows - fix to use secure URL in generated Windows resources - fix a potentially uninitialized variable - fix an unused variable warning CLA: trivial Reviewed-by: Richard Levitte Reviewed-by: Paul Dale Reviewed-by: Matthias St. Pierre (Merged from https://github.com/openssl/openssl/pull/7189) --- crypto/bio/b_sock2.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crypto/bio') diff --git a/crypto/bio/b_sock2.c b/crypto/bio/b_sock2.c index 823732d64e..5d82ab22dc 100644 --- a/crypto/bio/b_sock2.c +++ b/crypto/bio/b_sock2.c @@ -133,7 +133,9 @@ int BIO_connect(int sock, const BIO_ADDR *addr, int options) */ int BIO_bind(int sock, const BIO_ADDR *addr, int options) { +# ifndef OPENSSL_SYS_WINDOWS int on = 1; +# endif if (sock == -1) { BIOerr(BIO_F_BIO_BIND, BIO_R_INVALID_SOCKET); -- cgit v1.2.3