summaryrefslogtreecommitdiff
path: root/src/lib/libssl/src/apps/s_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/src/apps/s_server.c')
-rw-r--r--src/lib/libssl/src/apps/s_server.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libssl/src/apps/s_server.c b/src/lib/libssl/src/apps/s_server.c
index 8198d7f065..a36b1a3ad6 100644
--- a/src/lib/libssl/src/apps/s_server.c
+++ b/src/lib/libssl/src/apps/s_server.c
@@ -202,7 +202,7 @@ typedef unsigned int u_int;
202#endif 202#endif
203 203
204#ifndef OPENSSL_NO_RSA 204#ifndef OPENSSL_NO_RSA
205static RSA MS_CALLBACK *tmp_rsa_cb(SSL *s, int is_export, int keylength); 205static RSA *tmp_rsa_cb(SSL *s, int is_export, int keylength);
206#endif 206#endif
207static int sv_body(char *hostname, int s, unsigned char *context); 207static int sv_body(char *hostname, int s, unsigned char *context);
208static int www_body(char *hostname, int s, unsigned char *context); 208static int www_body(char *hostname, int s, unsigned char *context);
@@ -392,7 +392,7 @@ typedef struct srpsrvparm_st
392 (which would normally occur after a worker has finished) and we 392 (which would normally occur after a worker has finished) and we
393 set the user parameters. 393 set the user parameters.
394*/ 394*/
395static int MS_CALLBACK ssl_srp_server_param_cb(SSL *s, int *ad, void *arg) 395static int ssl_srp_server_param_cb(SSL *s, int *ad, void *arg)
396 { 396 {
397 srpsrvparm *p = (srpsrvparm *)arg; 397 srpsrvparm *p = (srpsrvparm *)arg;
398 if (p->login == NULL && p->user == NULL ) 398 if (p->login == NULL && p->user == NULL )
@@ -727,7 +727,7 @@ typedef struct tlsextctx_st {
727} tlsextctx; 727} tlsextctx;
728 728
729 729
730static int MS_CALLBACK ssl_servername_cb(SSL *s, int *ad, void *arg) 730static int ssl_servername_cb(SSL *s, int *ad, void *arg)
731 { 731 {
732 tlsextctx * p = (tlsextctx *) arg; 732 tlsextctx * p = (tlsextctx *) arg;
733 const char * servername = SSL_get_servername(s, TLSEXT_NAMETYPE_host_name); 733 const char * servername = SSL_get_servername(s, TLSEXT_NAMETYPE_host_name);
@@ -2386,7 +2386,7 @@ static int init_ssl_connection(SSL *con)
2386 const char *str; 2386 const char *str;
2387 X509 *peer; 2387 X509 *peer;
2388 long verify_error; 2388 long verify_error;
2389 MS_STATIC char buf[BUFSIZ]; 2389 char buf[BUFSIZ];
2390#ifndef OPENSSL_NO_KRB5 2390#ifndef OPENSSL_NO_KRB5
2391 char *client_princ; 2391 char *client_princ;
2392#endif 2392#endif
@@ -2956,7 +2956,7 @@ err:
2956 } 2956 }
2957 2957
2958#ifndef OPENSSL_NO_RSA 2958#ifndef OPENSSL_NO_RSA
2959static RSA MS_CALLBACK *tmp_rsa_cb(SSL *s, int is_export, int keylength) 2959static RSA *tmp_rsa_cb(SSL *s, int is_export, int keylength)
2960 { 2960 {
2961 BIGNUM *bn = NULL; 2961 BIGNUM *bn = NULL;
2962 static RSA *rsa_tmp=NULL; 2962 static RSA *rsa_tmp=NULL;