From 92b2530acd3bbf50eb8b9361addf3fc9a2d08411 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Thu, 4 Oct 2012 15:03:08 +0000 Subject: [PATCH] Fix warning (hope this doesn't break other platforms, there's a twisty little maze of #ifs, all different). --- crypto/bio/bss_dgram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/bio/bss_dgram.c b/crypto/bio/bss_dgram.c index bb64e88a4c..a223b8367c 100644 --- a/crypto/bio/bss_dgram.c +++ b/crypto/bio/bss_dgram.c @@ -381,8 +381,8 @@ static long dgram_ctrl(BIO *b, int cmd, long num, void *ptr) int *ip; struct sockaddr *to = NULL; bio_dgram_data *data = NULL; - int sockopt_val = 0; #if defined(OPENSSL_SYS_LINUX) && (defined(IP_MTU_DISCOVER) || defined(IP_MTU)) + int sockopt_val = 0; socklen_t sockopt_len; /* assume that system supporting IP_MTU is * modern enough to define socklen_t */ socklen_t addr_len; -- 2.25.1