[BACK]Return to s_server.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / openssl

Diff for /src/usr.bin/openssl/s_server.c between version 1.53 and 1.54

version 1.53, 2021/10/31 16:47:27 version 1.54, 2021/12/06 11:06:58
Line 180 
Line 180 
 static void s_server_init(void);  static void s_server_init(void);
 static void sv_usage(void);  static void sv_usage(void);
 static void print_stats(BIO *bp, SSL_CTX *ctx);  static void print_stats(BIO *bp, SSL_CTX *ctx);
 static int sv_body(char *hostname, int s, unsigned char *context);  static int sv_body(int s, unsigned char *context);
 static void close_accept_socket(void);  static void close_accept_socket(void);
 static int init_ssl_connection(SSL *s);  static int init_ssl_connection(SSL *s);
 #ifndef OPENSSL_NO_DH  #ifndef OPENSSL_NO_DH
 static DH *load_dh_param(const char *dhfile);  static DH *load_dh_param(const char *dhfile);
 #endif  #endif
 static int www_body(char *hostname, int s, unsigned char *context);  static int www_body(int s, unsigned char *context);
 static int generate_session_id(const SSL *ssl, unsigned char *id,  static int generate_session_id(const SSL *ssl, unsigned char *id,
     unsigned int *id_len);      unsigned int *id_len);
 static int ssl_servername_cb(SSL *s, int *ad, void *arg);  static int ssl_servername_cb(SSL *s, int *ad, void *arg);
Line 1531 
Line 1531 
 }  }
   
 static int  static int
 sv_body(char *hostname, int s, unsigned char *context)  sv_body(int s, unsigned char *context)
 {  {
         char *buf = NULL;          char *buf = NULL;
         int ret = 1;          int ret = 1;
Line 1956 
Line 1956 
 #endif  #endif
   
 static int  static int
 www_body(char *hostname, int s, unsigned char *context)  www_body(int s, unsigned char *context)
 {  {
         char *buf = NULL;          char *buf = NULL;
         int ret = 1;          int ret = 1;

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.54