From 14365bd82047c28a2d9552c47fb2729c3e1bb8b4 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 29 Jun 2005 18:48:08 +0000 Subject: [PATCH] Actually, the 64bit format specifier differs between SIXTY_FOUR_BIT and SIXTY_FOUR_BIT_LONG --- crypto/pqueue/pq_compat.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- GitLab