X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=apps%2Fs_apps.h;h=1f76009b8d1396816b117513e0445bfe8976fd13;hp=bf27de2fae99cff25393103ea20f3df03243f9b4;hb=72d0bc84de394e93f7d756a997c0d42a4ae35058;hpb=e627a13cd58a54df830e0fc2853f3ea8862699f2 diff --git a/apps/s_apps.h b/apps/s_apps.h index bf27de2fae..1f76009b8d 100644 --- a/apps/s_apps.h +++ b/apps/s_apps.h @@ -20,9 +20,9 @@ #define PORT "4433" #define PROTOCOL "tcp" -typedef int (*do_server_cb)(int s, int stype, unsigned char *context); +typedef int (*do_server_cb)(int s, int stype, int prot, unsigned char *context); int do_server(int *accept_sock, const char *host, const char *port, - int family, int type, + int family, int type, int protocol, do_server_cb cb, unsigned char *context, int naccept); #ifdef HEADER_X509_H @@ -77,4 +77,5 @@ int ssl_load_stores(SSL_CTX *ctx, const char *vfyCApath, int crl_download); void ssl_ctx_security_debug(SSL_CTX *ctx, int verbose); int set_keylog_file(SSL_CTX *ctx, const char *keylog_file); +void print_ca_names(BIO *bio, SSL *s); #endif