]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Correct 50-nonstop.conf to support QUIC tests under SPT threading models.
authorRandall S. Becker <randall.becker@nexbridge.ca>
Fri, 10 Nov 2023 20:24:22 +0000 (20:24 +0000)
committerTomas Mraz <tomas@openssl.org>
Tue, 14 Nov 2023 10:05:57 +0000 (11:05 +0100)
This fix also separates the FLOSS from SPT configurations which should not
have been conflated in the 3.0 series.

Related-to: #22588
Signed-off-by: Randall S. Becker <randall.becker@nexbridge.ca>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22697)

(cherry picked from commit e3c38759608bb48d70ddfdaa1c88bcd86069952d)

Configurations/50-nonstop.conf

index 53081576cc68c0ac8547cd22b3d0c6aa204ce8b4..827a13b4eec20947c097135f19534808d0592eb6 100644 (file)
     },
     'nonstop-model-spt' => {
         template         => 1,
+        cflags           => add('-Wnowarn=140'),
         defines          => ['_SPT_MODEL_',
-                             '_REENTRANT', '_ENABLE_FLOSS_THREADS'],
+                             'SPT_THREAD_AWARE_NONBLOCK',
+                             '_REENTRANT'],
         ex_libs          => '-lspt',
     },
 
     # disable threads.
     'nonstop-model-floss' => {
         template         => 1,
-        defines          => ['OPENSSL_TANDEM_FLOSS'],
+        defines          => ['OPENSSL_TANDEM_FLOSS', '_ENABLE_FLOSS_THREADS'],
         includes         => ['/usr/local/include'],
         ex_libs          => '-lfloss',
     },