forked from pool/ibmswtpm2
fbfa3e1174
Make buildable with openssl 1.0.0 legacy OBS-URL: https://build.opensuse.org/request/show/541071 OBS-URL: https://build.opensuse.org/package/show/security/ibmswtpm2?expand=0&rev=11
16 lines
629 B
Diff
16 lines
629 B
Diff
diff -ur ibmtpm832/src/Implementation.h ibmswtpm2-832/src/Implementation.h
|
|
--- ibmtpm832/src/Implementation.h 2016-11-18 22:42:16.000000000 +0100
|
|
+++ ibmswtpm2-832/src/Implementation.h 2017-01-30 17:36:16.279264575 +0100
|
|
@@ -301,7 +301,11 @@
|
|
/* From Vendor-Specific: Table 7 - Defines for Implementation Values */
|
|
#define FIELD_UPGRADE_IMPLEMENTED NO
|
|
#ifdef TPM_POSIX
|
|
+#if defined(__LP64__) || defined(_LP64)
|
|
#define RADIX_BITS 64 /* kgold */
|
|
+#else
|
|
+#define RADIX_BITS 32 /* kgold */
|
|
+#endif
|
|
#endif
|
|
#ifdef TPM_WINDOWS
|
|
#define RADIX_BITS 32 /* kgold */
|