Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssl/dist/crypto/idea we need variabl...



details:   https://anonhg.NetBSD.org/src/rev/39ffda9dc942
branches:  trunk
changeset: 829772:39ffda9dc942
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Feb 12 02:15:31 2018 +0000

description:
we need variables to be signed here.

diffstat:

 crypto/external/bsd/openssl/dist/crypto/idea/i_skey.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 9cc5106992df -r 39ffda9dc942 crypto/external/bsd/openssl/dist/crypto/idea/i_skey.c
--- a/crypto/external/bsd/openssl/dist/crypto/idea/i_skey.c     Sun Feb 11 18:58:44 2018 +0000
+++ b/crypto/external/bsd/openssl/dist/crypto/idea/i_skey.c     Mon Feb 12 02:15:31 2018 +0000
@@ -8,6 +8,7 @@
  */
 
 #include <openssl/idea.h>
+#include <inttypes.h>
 #include "idea_lcl.h"
 
 static IDEA_INT inverse(unsigned int xin);
@@ -83,7 +84,7 @@
 /* taken directly from the 'paper' I'll have a look at it later */
 static IDEA_INT inverse(unsigned int xin)
 {
-    IDEA_INT n1, n2, q, r, b1, b2, t;
+    int32_t n1, n2, q, r, b1, b2, t;
 
     if (xin == 0)
         b2 = 0;



Home | Main Index | Thread Index | Old Index