diff options
author | Matt Caswell <matt@openssl.org> | 2016-03-21 15:32:40 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-03-21 16:33:59 +0000 |
commit | f9e550341281b0d344f7a5e7ac2ace79f88a3184 (patch) | |
tree | 92d80d122c6d3c1eee39ffdd08cfe1980a657095 /ssl/d1_lib.c | |
parent | 168c3b737e898ce97348dfe77ef176e39ae9da0d (diff) | |
download | openssl-f9e550341281b0d344f7a5e7ac2ace79f88a3184.tar.gz |
Fix no-sock
Misc fixes for no-sock
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'ssl/d1_lib.c')
-rw-r--r-- | ssl/d1_lib.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |