summaryrefslogtreecommitdiff
path: root/dtls.c
diff options
context:
space:
mode:
authorvenaas <venaas>2008-09-17 14:28:10 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-09-17 14:28:10 +0000
commit4f7c11c9ea5795ac0dd32540e5045d3fc10f0a89 (patch)
tree8a8eba4584092bd3cdd7c67123825c461e6d23e3 /dtls.c
parent0ae3e22361c9d7a7ff1cc8532095f5f3975448b5 (diff)
trying to avoid some silly compiler warnings
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@390 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'dtls.c')
-rw-r--r--dtls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dtls.c b/dtls.c
index 44031f3..0b26bbf 100644
--- a/dtls.c
+++ b/dtls.c
@@ -148,7 +148,7 @@ SSL *dtlsacccon(uint8_t acc, SSL_CTX *ctx, int s, struct sockaddr *addr, struct
mem0bio = BIO_new(BIO_s_mem());
BIO_set_mem_eof_return(mem0bio, -1);
wbio = BIO_new_dgram(s, BIO_NOCLOSE);
- BIO_dgram_set_peer(wbio, addr);
+ i = BIO_dgram_set_peer(wbio, addr); /* i just to avoid warning */
SSL_set_bio(ssl, mem0bio, wbio);
for (i = 0; i < 5; i++) {