summaryrefslogtreecommitdiff
path: root/bin/bbstored/bbstored-config.in
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2019-05-28 07:20:50 -0400
committerReinhard Tartler <siretart@tauware.de>2019-05-28 07:20:50 -0400
commit6017757bc079f4446aa77bc5c0855c52741280f4 (patch)
tree41bfcfc2aab37312ef73bf9b30867a235c8117f3 /bin/bbstored/bbstored-config.in
parent1b839d11810d6202f9b6f41db8f0ec3197e6a867 (diff)
New upstream version 0.13~~git20190527.g039c4a1
Diffstat (limited to 'bin/bbstored/bbstored-config.in')
-rwxr-xr-xbin/bbstored/bbstored-config.in17
1 files changed, 15 insertions, 2 deletions
diff --git a/bin/bbstored/bbstored-config.in b/bin/bbstored/bbstored-config.in
index 83305c4f..1efaf668 100755
--- a/bin/bbstored/bbstored-config.in
+++ b/bin/bbstored/bbstored-config.in
@@ -202,11 +202,24 @@ Server
CertificateFile = $certificate
PrivateKeyFile = $private_key
TrustedCAsFile = $ca_root_cert
-}
-
+__E
+if("@HAVE_SSL_CTX_SET_SECURITY_LEVEL@" eq "1")
+{
+ print CONFIG <<__E;
+ # Box Backup compiled with support for SSLSecurityLevel
+ SSLSecurityLevel = 2
__E
+}
+else
+{
+ print CONFIG <<__E;
+ # Box Backup compiled without support for SSLSecurityLevel
+ # SSLSecurityLevel = 2
+__E
+}
+print CONFIG "}\n";
close CONFIG;
# explain to the user what they need to do next