[Gnuk-users] [PATCH 1/7] polarssl: fix build without POLARSSL_HAVE_ASM
Aurelien Jarno
aurelien at aurel32.net
Thu Oct 12 20:02:19 UTC 2017
This fixes building polarssl for architectures without assembly code or
when POLARSSL_HAVE_ASM is not defined.
This has been done in upstream commit a755ca1bbe, but somehow the
generic version has been missed in gnuk's version.
---
polarssl/include/polarssl/bn_mul.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/polarssl/include/polarssl/bn_mul.h b/polarssl/include/polarssl/bn_mul.h
index 2ec716c..6885f28 100644
--- a/polarssl/include/polarssl/bn_mul.h
+++ b/polarssl/include/polarssl/bn_mul.h
@@ -811,8 +811,8 @@
#else
#define MULADDC_INIT \
{ \
- t_int s0, s1, b0, b1; \
- t_int r0, r1, rx, ry; \
+ t_uint s0, s1, b0, b1; \
+ t_uint r0, r1, rx, ry; \
b0 = ( b << biH ) >> biH; \
b1 = ( b >> biH );
--
2.14.2
More information about the gnuk-users
mailing list