summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn.h
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-12-16 10:43:33 +0000
committerAndy Polyakov <appro@openssl.org>2005-12-16 10:43:33 +0000
commitf5826b80141dc72697b3c80578ca89270c066fc8 (patch)
tree64d19e38682852cd255ea97813a4540f004f920f /crypto/bn/bn.h
parent4a47f5563990ceb30248d449bbac2c125980bdda (diff)
We all make typos:-) Fix just introduced ones in bn.h
Diffstat (limited to 'crypto/bn/bn.h')
-rw-r--r--crypto/bn/bn.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/bn/bn.h b/crypto/bn/bn.h
index e990427334..13a8a4465b 100644
--- a/crypto/bn/bn.h
+++ b/crypto/bn/bn.h
@@ -140,7 +140,7 @@ extern "C" {
#define BN_DEC_FMT2 "%019lu"
#define BN_DEC_NUM 19
#define BN_HEX_FMT1 "%lX"
-#define BN_HEX_FMT2 "%08lX"
+#define BN_HEX_FMT2 "%016lX"
#endif
/* This is where the long long data type is 64 bits, but long is 32.
@@ -167,7 +167,7 @@ extern "C" {
#define BN_DEC_FMT2 "%019llu"
#define BN_DEC_NUM 19
#define BN_HEX_FMT1 "%llX"
-#define BN_HEX_FMT2 "%08llX"
+#define BN_HEX_FMT2 "%016llX"
#endif
#ifdef THIRTY_TWO_BIT
@@ -196,7 +196,7 @@ extern "C" {
#define BN_DEC_FMT2 "%09u"
#define BN_DEC_NUM 9
#define BN_HEX_FMT1 "%X"
-#define BN_HEX_FMT2 "%04X"
+#define BN_HEX_FMT2 "%08X"
#endif
#define BN_DEFAULT_BITS 1280