From 9366f4ef0d67a19fe5eca3feedbc756a4a8966b2 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Thu, 26 Jan 2017 05:31:25 +0000 Subject: Merge the client/server version negotiation into the existing (currently fixed version) client/server code. ok beck@ --- src/lib/libssl/d1_srvr.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/lib/libssl/d1_srvr.c') diff --git a/src/lib/libssl/d1_srvr.c b/src/lib/libssl/d1_srvr.c index 1787412bf5..1be0e4b596 100644 --- a/src/lib/libssl/d1_srvr.c +++ b/src/lib/libssl/d1_srvr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: d1_srvr.c,v 1.79 2017/01/23 13:36:13 jsing Exp $ */ +/* $OpenBSD: d1_srvr.c,v 1.80 2017/01/26 05:31:25 jsing Exp $ */ /* * DTLS implementation written by Nagendra Modadugu * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. @@ -125,7 +125,6 @@ #include #include -static const SSL_METHOD *dtls1_get_server_method(int ver); static int dtls1_send_hello_verify_request(SSL *s); static const SSL_METHOD_INTERNAL DTLSv1_server_method_internal_data = { @@ -168,7 +167,7 @@ DTLSv1_server_method(void) return &DTLSv1_server_method_data; } -static const SSL_METHOD * +const SSL_METHOD * dtls1_get_server_method(int ver) { if (ver == DTLS1_VERSION) -- cgit v1.2.3-55-g6feb