* Fails with "error Untested OpenSSL version" when building for the upcoming OpenSSL version 3.5. * Add ibmswtpm2-Build-with-OpenSSL-3.5.patch OBS-URL: https://build.opensuse.org/package/show/security/ibmswtpm2?expand=0&rev=40
14 lines
565 B
Diff
14 lines
565 B
Diff
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
|