]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Add hq-interop configure option
authorNeil Horman <nhorman@openssl.org>
Thu, 23 Jan 2025 19:10:15 +0000 (14:10 -0500)
committerTomas Mraz <tomas@openssl.org>
Mon, 27 Jan 2025 08:13:49 +0000 (09:13 +0100)
Allow the building of the hq-interop client and server when we are
building our interop container

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26546)

Configure
test/build.info
test/quic-openssl-docker/build.info [new file with mode: 0644]
test/quic-openssl-docker/hq-interop/build.info [new file with mode: 0644]

index 2dd6234d1cca7be28b10b7e5b24c77283d4d1d1b..52d7726b52b68d8ef12ae96afcd8b530f1d1214f 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -81,6 +81,11 @@ EOF
 # enable-demos  Enable the building of the example code in the demos directory
 # enable-h3demo Enable the http3 demo, which currently only links to the
 #               external nghttp3 library on unix platforms
+#
+# enable-hqinterop
+#               Enable the building of the hq-interop code for construction
+#               of the interop container
+#
 # no-hw         do not compile support for any crypto hardware.
 # [no-]threads  [don't] try to create a library that is suitable for
 #               multithreaded applications (default is "threads" if we
@@ -448,6 +453,7 @@ my @disablables = (
     "default-thread-pool",
     "demos",
     "h3demo",
+    "hqinterop",
     "deprecated",
     "des",
     "devcryptoeng",
@@ -584,6 +590,7 @@ our %disabled = ( # "what"         => "comment"
                   "crypto-mdebug-backtrace" => "default",
                   "demos"               => "default",
                   "h3demo"              => "default",
+                  "hqinterop"           => "default",
                   "devcryptoeng"        => "default",
                   "ec_nistp_64_gcc_128" => "default",
                   "egd"                 => "default",
index 4a77a44f67226714e2b67524884b71b04be5f8e9..40777f59ab33ad9d58ac68484a8c0f8ec1a89178 100644 (file)
@@ -4,6 +4,11 @@
 # Most of all, ../apps/lib/apps.c needs to be divided in smaller pieces to
 # be useful here.
 #
+
+IF[{- !$disabled{hqinterop} -}]
+  SUBDIRS=quic-openssl-docker
+ENDIF
+
 # Auxiliary program source (copied from ../apps/build.info)
 IF[{- $config{target} =~ /^(?:VC-|mingw|BC-)/ -}]
   # It's called 'init', but doesn't have much 'init' in it...
diff --git a/test/quic-openssl-docker/build.info b/test/quic-openssl-docker/build.info
new file mode 100644 (file)
index 0000000..6ef2970
--- /dev/null
@@ -0,0 +1,6 @@
+
+IF[{- !$disabled{hqinterop} -}]
+  SUBDIRS=hq-interop
+ENDIF
+
+
diff --git a/test/quic-openssl-docker/hq-interop/build.info b/test/quic-openssl-docker/hq-interop/build.info
new file mode 100644 (file)
index 0000000..9c9a0e6
--- /dev/null
@@ -0,0 +1,10 @@
+PROGRAMS{noinst} = quic-hq-interop \
+                   quic-hq-interop-server
+
+INCLUDE[quic-hq-interop]=../../../include
+SOURCE[quic-hq-interop]=quic-hq-interop.c
+DEPEND[quic-hq-interop]=../../../libcrypto ../../../libssl
+
+INCLUDE[quic-hq-interop-server]=../../../include
+SOURCE[quic-hq-interop-server]=quic-hq-interop-server.c
+DEPEND[quic-hq-interop-server]=../../../libcrypto ../../../libssl