Configure: Add warning when enabling QLOG
authorHugo Landau <hlandau@openssl.org>
Tue, 23 Jan 2024 12:50:39 +0000 (12:50 +0000)
committerHugo Landau <hlandau@openssl.org>
Fri, 2 Feb 2024 11:50:03 +0000 (11:50 +0000)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22037)

Configure

index e7e596b539836cf0cac810dcabb5fdc15e3a9cab..1b4428a5601c691ef0c60ade3c1c122f648fa2a1 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -2975,6 +2975,21 @@ or position independent code, please let us know (but please first make sure
 you have tried with a current version of OpenSSL).
 EOF
 
+print <<"EOF" if (!$disabled{qlog});
+
+============================== WARNING ===============================
+
+WARNING: You have enabled QLOG. This functionality is unstable and
+    implements a draft version of the QLOG specification. The QLOG
+    output from OpenSSL *will* change in incompatible ways in future,
+    and is not subject to any format stability or compatibility
+    guarantees at this time. See the manpage openssl-qlog(7) for
+    details.
+
+============================== WARNING ===============================
+
+EOF
+
 print $banner;
 
 exit(0);