summaryrefslogtreecommitdiff
path: root/structures.h
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2026-04-02 21:09:01 +0200
committerLuke Bratch <luke@bratch.co.uk>2026-04-02 21:09:01 +0200
commit4a51c367fa192adba69fac4bf0305ed38290ef19 (patch)
treee3150713e128470fee36065fb6ecdb5f1d5646c8 /structures.h
parent83da1b192647a7abc2b8cf8561b221a3c0b3d398 (diff)
Allow configuring the OpenSSL security level, see https://docs.openssl.org/master/man3/SSL_CTX_set_security_level/#default-callback-behaviour for further details.
Diffstat (limited to 'structures.h')
-rw-r--r--structures.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/structures.h b/structures.h
index 86f83b7..727640e 100644
--- a/structures.h
+++ b/structures.h
@@ -77,6 +77,7 @@ struct settings {
char conffile[PATH_MAX];
char certfile[PATH_MAX];
char keyfile[PATH_MAX];
+ int sslseclevel; // OpenSSL security level, -1 is treated as "unset"
int clienttls;
int servertls;
char basedir[PATH_MAX];