Fix no-sock
Misc fixes for no-sock
Reviewed-by: Richard Levitte <levitte@openssl.org>
diff --git a/ssl/d1_lib.c b/ssl/d1_lib.c
index 8f399d0..6d75225 100644
--- a/ssl/d1_lib.c
+++ b/ssl/d1_lib.c
@@ -458,7 +458,7 @@
#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 @@
}
return ret;
}
+#endif
static int dtls1_set_handshake_header(SSL *s, int htype, unsigned long len)
{