From f9e550341281b0d344f7a5e7ac2ace79f88a3184 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Mon, 21 Mar 2016 15:32:40 +0000 Subject: Fix no-sock Misc fixes for no-sock Reviewed-by: Richard Levitte --- ssl/d1_lib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ssl/d1_lib.c') diff --git a/ssl/d1_lib.c b/ssl/d1_lib.c index 8f399d07e9..6d75225cce 100644 --- a/ssl/d1_lib.c +++ b/ssl/d1_lib.c @@ -458,7 +458,7 @@ static void get_current_time(struct timeval *t) #define LISTEN_SUCCESS 2 #define LISTEN_SEND_VERIFY_REQUEST 1 - +#ifndef OPENSSL_NO_SOCK int DTLSv1_listen(SSL *s, BIO_ADDR *client) { int next, n, ret = 0, clearpkt = 0; @@ -866,6 +866,7 @@ end: } return ret; } +#endif static int dtls1_set_handshake_header(SSL *s, int htype, unsigned long len) { -- cgit v1.2.3