summaryrefslogtreecommitdiffstats
path: root/src/crypto/bn/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/bn/internal.h')
-rw-r--r--src/crypto/bn/internal.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/crypto/bn/internal.h b/src/crypto/bn/internal.h
index d421cf3..2674b3c 100644
--- a/src/crypto/bn/internal.h
+++ b/src/crypto/bn/internal.h
@@ -125,10 +125,10 @@
#include <openssl/base.h>
-#include <inttypes.h>
-
#if defined(OPENSSL_X86_64) && defined(_MSC_VER) && _MSC_VER >= 1400
+#pragma warning(push, 3)
#include <intrin.h>
+#pragma warning(pop)
#pragma intrinsic(__umulh, _umul128)
#endif
@@ -159,10 +159,7 @@ BIGNUM *bn_expand(BIGNUM *bn, unsigned bits);
#define BN_MASK2h1 (0xffffffff80000000L)
#define BN_TBIT (0x8000000000000000L)
#define BN_DEC_CONV (10000000000000000000UL)
-#define BN_DEC_FMT1 "%" PRIu64
-#define BN_DEC_FMT2 "%019" PRIu64
#define BN_DEC_NUM 19
-#define BN_HEX_FMT1 "%" PRIx64
#elif defined(OPENSSL_32_BIT)
@@ -179,10 +176,7 @@ BIGNUM *bn_expand(BIGNUM *bn, unsigned bits);
#define BN_MASK2h (0xffff0000L)
#define BN_TBIT (0x80000000L)
#define BN_DEC_CONV (1000000000L)
-#define BN_DEC_FMT1 "%" PRIu32
-#define BN_DEC_FMT2 "%09" PRIu32
#define BN_DEC_NUM 9
-#define BN_HEX_FMT1 "%" PRIx32
#else
#error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT"