summaryrefslogtreecommitdiffstats
path: root/libtommath/bn_mp_export.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-08-29 19:52:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-08-29 19:52:35 (GMT)
commit92265d56a363a605b8a68d54cf49aa9a11448a1f (patch)
tree915f0c4344c7f680ee86ba8cce24deb9b0b40bc2 /libtommath/bn_mp_export.c
parentf10147dbfeaa7cecc2fa78fd50a35681a63b7de5 (diff)
downloadtcl-92265d56a363a605b8a68d54cf49aa9a11448a1f.zip
tcl-92265d56a363a605b8a68d54cf49aa9a11448a1f.tar.gz
tcl-92265d56a363a605b8a68d54cf49aa9a11448a1f.tar.bz2
libtommath 1.0.1 rc 2
Diffstat (limited to 'libtommath/bn_mp_export.c')
-rw-r--r--libtommath/bn_mp_export.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libtommath/bn_mp_export.c b/libtommath/bn_mp_export.c
index ac4c2f9..6477dd9 100644
--- a/libtommath/bn_mp_export.c
+++ b/libtommath/bn_mp_export.c
@@ -31,12 +31,12 @@ int mp_export(void* rop, size_t* countp, int order, size_t size,
}
if (endian == 0) {
- union {
- unsigned int i;
- char c[4];
+ union {
+ unsigned int i;
+ char c[4];
} lint;
- lint.i = 0x01020304;
-
+ lint.i = 0x01020304;
+
endian = (lint.c[0] == 4) ? -1 : 1;
}
@@ -83,6 +83,6 @@ int mp_export(void* rop, size_t* countp, int order, size_t size,
#endif
-/* $Source$ */
-/* $Revision$ */
-/* $Date$ */
+/* ref: HEAD -> release/1.0.1, tag: v1.0.1-rc2 */
+/* git commit: e8c27ba7df0efb90708029115c94d681dfa7812f */
+/* commit time: 2017-08-29 10:48:46 +0200 */