=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/s_server.c,v retrieving revision 1.53 retrieving revision 1.54 diff -c -r1.53 -r1.54 *** src/usr.bin/openssl/s_server.c 2021/10/31 16:47:27 1.53 --- src/usr.bin/openssl/s_server.c 2021/12/06 11:06:58 1.54 *************** *** 1,4 **** ! /* $OpenBSD: s_server.c,v 1.53 2021/10/31 16:47:27 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * --- 1,4 ---- ! /* $OpenBSD: s_server.c,v 1.54 2021/12/06 11:06:58 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * *************** *** 180,192 **** static void s_server_init(void); static void sv_usage(void); static void print_stats(BIO *bp, SSL_CTX *ctx); ! static int sv_body(char *hostname, int s, unsigned char *context); static void close_accept_socket(void); static int init_ssl_connection(SSL *s); #ifndef OPENSSL_NO_DH static DH *load_dh_param(const char *dhfile); #endif ! static int www_body(char *hostname, int s, unsigned char *context); static int generate_session_id(const SSL *ssl, unsigned char *id, unsigned int *id_len); static int ssl_servername_cb(SSL *s, int *ad, void *arg); --- 180,192 ---- static void s_server_init(void); static void sv_usage(void); static void print_stats(BIO *bp, SSL_CTX *ctx); ! static int sv_body(int s, unsigned char *context); static void close_accept_socket(void); static int init_ssl_connection(SSL *s); #ifndef OPENSSL_NO_DH static DH *load_dh_param(const char *dhfile); #endif ! static int www_body(int s, unsigned char *context); static int generate_session_id(const SSL *ssl, unsigned char *id, unsigned int *id_len); static int ssl_servername_cb(SSL *s, int *ad, void *arg); *************** *** 1531,1537 **** } static int ! sv_body(char *hostname, int s, unsigned char *context) { char *buf = NULL; int ret = 1; --- 1531,1537 ---- } static int ! sv_body(int s, unsigned char *context) { char *buf = NULL; int ret = 1; *************** *** 1956,1962 **** #endif static int ! www_body(char *hostname, int s, unsigned char *context) { char *buf = NULL; int ret = 1; --- 1956,1962 ---- #endif static int ! www_body(int s, unsigned char *context) { char *buf = NULL; int ret = 1;