File: x32.patch

package info (click to toggle)
libtpms 0.10.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,220 kB
  • sloc: ansic: 120,341; makefile: 829; sh: 336; cpp: 125
file content (14 lines) | stat: -rw-r--r-- 497 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Author: Luca Boccassi <bluca@debian.org>
Description: fix build on x32
Forwarded: https://github.com/stefanberger/libtpms/pull/561
--- a/src/tpm2/crypto/openssl/tpm_radix.h
+++ b/src/tpm2/crypto/openssl/tpm_radix.h
@@ -67,7 +67,7 @@
 # ifdef THIRTY_TWO_BIT
 #  define RADIX_BITS                     32
 # endif
-# ifdef SIXTY_FOUR_BIT_LONG
+# if defined(SIXTY_FOUR_BIT_LONG) || defined(SIXTY_FOUR_BIT) // x32 architecture
 #  define RADIX_BITS                     64
 # endif
 # ifndef RADIX_BITS