X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=ssl%2Fs2_srvr.c;h=3477d438530319878aa48ffcf016e4bb4b5a557c;hp=c6c8ea32f14472ed86639b66c5a367e1f05d53ec;hb=9b3086fe382e7b0f53b8634d0e75f1a659ab2653;hpb=58964a492275ca9a59a0cd9c8155cb2491b4b909 diff --git a/ssl/s2_srvr.c b/ssl/s2_srvr.c index c6c8ea32f1..3477d43853 100644 --- a/ssl/s2_srvr.c +++ b/ssl/s2_srvr.c @@ -64,6 +64,7 @@ #include "evp.h" #ifndef NOPROTO +static SSL_METHOD *ssl2_get_server_method(int ver); static int get_client_master_key(SSL *s); static int get_client_hello(SSL *s); static int server_hello(SSL *s); @@ -74,6 +75,7 @@ static int request_certificate(SSL *s); static int ssl_rsa_private_decrypt(CERT *c, int len, unsigned char *from, unsigned char *to,int padding); #else +static SSL_METHOD *ssl2_get_server_method(); static int get_client_master_key(); static int get_client_hello(); static int server_hello(); @@ -333,7 +335,10 @@ end: static int get_client_master_key(s) SSL *s; { - int export,i,n,keya,error=0,ek; + int export,i,n,keya,ek; +#if 0 + int error=0; +#endif unsigned char *p; SSL_CIPHER *cp; EVP_CIPHER *c;