projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ff94ad
)
Fix warning (hope this doesn't break other platforms, there's a twisty
author
Ben Laurie
<ben@openssl.org>
Thu, 4 Oct 2012 15:03:08 +0000
(15:03 +0000)
committer
Ben Laurie
<ben@openssl.org>
Thu, 4 Oct 2012 15:03:08 +0000
(15:03 +0000)
little maze of #ifs, all different).
crypto/bio/bss_dgram.c
patch
|
blob
|
history
diff --git
a/crypto/bio/bss_dgram.c
b/crypto/bio/bss_dgram.c
index bb64e88a4c983a0f4c77ef68db7bbbacb252ee07..a223b8367cb565b509cf3d4f10f587c81227d184 100644
(file)
--- 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;