changeset 7180:0bacd6e8c21c

fix build on lsb
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 22 Oct 2026 08:45:00 +0200
parents 3e12d85063ee
children 47665da83409
files OrthancFramework/Resources/CMake/OpenSslConfigurationStatic.cmake OrthancServer/UnitTestsSources/VersionsTests.cpp
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Resources/CMake/OpenSslConfigurationStatic.cmake	Thu Oct 22 08:33:28 2026 +0200
+++ b/OrthancFramework/Resources/CMake/OpenSslConfigurationStatic.cmake	Thu Oct 22 08:45:00 2026 +0200
@@ -394,8 +394,9 @@
   ${OPENSSL_SOURCES_DIR}/providers/implementations/macs/blake2_mac_impl.c
   ${OPENSSL_SOURCES_DIR}/ssl/record/methods/ktls_meth.c
 
+  ${OPENSSL_SOURCES_DIR}/crypto/poly1305/poly1305_ieee754.c  # Fails on Visual Studio
+  ${OPENSSL_SOURCES_DIR}/crypto/sha/sha_riscv.c  # Fails on LSB
   ${OPENSSL_SOURCES_DIR}/engines/e_afalg.c  # Fails on OS X and Visual Studio
-  ${OPENSSL_SOURCES_DIR}/crypto/poly1305/poly1305_ieee754.c  # Fails on Visual Studio
 
   # Disable CPUID for non-x86 platforms
   ${OPENSSL_SOURCES_DIR}/crypto/armcap.c
--- a/OrthancServer/UnitTestsSources/VersionsTests.cpp	Thu Oct 22 08:33:28 2026 +0200
+++ b/OrthancServer/UnitTestsSources/VersionsTests.cpp	Thu Oct 22 08:45:00 2026 +0200
@@ -168,11 +168,10 @@
 #if ORTHANC_ENABLE_SSL == 1
 TEST(Versions, OpenSslStatic)
 {
-  // openssl-3.1.4
   // https://www.openssl.org/docs/man3.0/man3/OPENSSL_VERSION_NUMBER.html
   ASSERT_EQ(3 /* major */ * 0x10000000L +
-            1 /* minor */ * 0x00100000L +
-            4 /* patch */ * 0x00000010L, OPENSSL_VERSION_NUMBER);
+            5 /* minor */ * 0x00100000L +
+            9 /* patch */ * 0x00000010L, OPENSSL_VERSION_NUMBER);
 }
 #endif