summaryrefslogtreecommitdiffstats
path: root/apps/include
diff options
context:
space:
mode:
Diffstat (limited to 'apps/include')
-rw-r--r--apps/include/s_apps.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/include/s_apps.h b/apps/include/s_apps.h
index d610df40be..194ea746ed 100644
--- a/apps/include/s_apps.h
+++ b/apps/include/s_apps.h
@@ -15,6 +15,9 @@
#define PORT "4433"
#define PROTOCOL "tcp"
+#define SSL_VERSION_ALLOWS_RENEGOTIATION(s) \
+ (SSL_is_dtls(s) || (SSL_version(s) < TLS1_3_VERSION))
+
typedef int (*do_server_cb)(int s, int stype, int prot, unsigned char *context);
int report_server_accept(BIO *out, int asock, int with_address, int with_pid);
int do_server(int *accept_sock, const char *host, const char *port,
@@ -79,6 +82,7 @@ int ssl_load_stores(SSL_CTX *ctx, const char *vfyCApath,
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);
+void ssl_print_secure_renegotiation_notes(BIO *bio, SSL *s);
#ifndef OPENSSL_NO_SRP
/* The client side SRP context that we pass to all SRP related callbacks */