File ibmswtpm2-Build-with-OpenSSL-3.5.patch of Package ibmswtpm2

Index: ibmswtpm2-rev183-2024-03-27/src/BnToOsslMath.h
===================================================================
--- ibmswtpm2-rev183-2024-03-27.orig/src/BnToOsslMath.h
+++ ibmswtpm2-rev183-2024-03-27/src/BnToOsslMath.h
@@ -77,7 +77,7 @@
 #include <openssl/ec.h>
 #include <openssl/bn.h>
 
-#if OPENSSL_VERSION_NUMBER >= 0x30200ff0L
+#if OPENSSL_VERSION_NUMBER >= 0x30500ff0L
 // Check the bignum_st definition against the one below and either update the
 // version check or provide the new definition for this version.
 #  error Untested OpenSSL version
openSUSE Build Service is sponsored by