X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;f=ssl%2Fs23_clnt.c;h=386ebe3f8eedae92a55f0c17432a383ad1af49f0;hb=e766a681aa4df604b20ce2d23cd131b74af9eaf7;hp=5cbd99d56e7e0be049de194a57e55920fc4f29a0;hpb=ec577822f95a8bca0023c5c77cef1a4916822d4a;p=openssl.git diff --git a/ssl/s23_clnt.c b/ssl/s23_clnt.c index 5cbd99d56e..386ebe3f8e 100644 --- a/ssl/s23_clnt.c +++ b/ssl/s23_clnt.c @@ -63,23 +63,14 @@ #include #include "ssl_locl.h" -#define BREAK break - -#ifndef NOPROTO static SSL_METHOD *ssl23_get_client_method(int ver); static int ssl23_client_hello(SSL *s); static int ssl23_get_server_hello(SSL *s); -#else -static SSL_METHOD *ssl23_get_client_method(); -static int ssl23_client_hello(); -static int ssl23_get_server_hello(); -#endif - static SSL_METHOD *ssl23_get_client_method(int ver) { if (ver == SSL2_VERSION) return(SSLv2_client_method()); - else if (ver == SSL3_VERSION) + if (ver == SSL3_VERSION) return(SSLv3_client_method()); else if (ver == TLS1_VERSION) return(TLSv1_client_method());