summaryrefslogtreecommitdiffstats
path: root/crypto/pqueue/pq_compat.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2005-06-29 18:48:08 +0000
committerRichard Levitte <levitte@openssl.org>2005-06-29 18:48:08 +0000
commit14365bd82047c28a2d9552c47fb2729c3e1bb8b4 (patch)
tree51b82fdc45962df227a46b11793bc25bb780fe52 /crypto/pqueue/pq_compat.h
parenta51a97262de196f8d4940fe68d9412ec99cd555a (diff)
Actually, the 64bit format specifier differs between SIXTY_FOUR_BIT and
SIXTY_FOUR_BIT_LONG
Diffstat (limited to 'crypto/pqueue/pq_compat.h')
-rw-r--r--crypto/pqueue/pq_compat.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/pqueue/pq_compat.h b/crypto/pqueue/pq_compat.h
index 904b0d09a2..1bc12c42b3 100644
--- a/crypto/pqueue/pq_compat.h
+++ b/crypto/pqueue/pq_compat.h
@@ -109,7 +109,10 @@
#define PQ_64BIT_IS_INTEGER 1
#define PQ_64BIT_IS_BIGNUM 0
-#if defined(SIXTY_FOUR_BIT) || defined(SIXTY_FOUR_BIT_LONG)
+#if defined(SIXTY_FOUR_BIT)
+#define PQ_64BIT BN_ULONG
+#define PQ_64BIT_PRINT "%lld"
+#elif defined(SIXTY_FOUR_BIT_LONG)
#define PQ_64BIT BN_ULONG
#define PQ_64BIT_PRINT "%ld"
#elif defined(THIRTY_TWO_BIT)