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 reduce diff with ups...



details:   https://anonhg.NetBSD.org/src/rev/b71d6b766bf4
branches:  trunk
changeset: 746139:b71d6b766bf4
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Mar 22 20:13:15 2020 +0000

description:
reduce diff with upstream

diffstat:

 crypto/external/bsd/openssl/dist/crypto/md5/md5_dgst.c    |  2 +-
 crypto/external/bsd/openssl/dist/crypto/ripemd/rmd_dgst.c |  4 ++--
 crypto/external/bsd/openssl/dist/crypto/sha/sha256.c      |  4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diffs (47 lines):

diff -r 7ba10f99cb13 -r b71d6b766bf4 crypto/external/bsd/openssl/dist/crypto/md5/md5_dgst.c
--- a/crypto/external/bsd/openssl/dist/crypto/md5/md5_dgst.c    Sun Mar 22 20:09:17 2020 +0000
+++ b/crypto/external/bsd/openssl/dist/crypto/md5/md5_dgst.c    Sun Mar 22 20:13:15 2020 +0000
@@ -37,7 +37,7 @@
 void md5_block_data_order(MD5_CTX *c, const void *data_, size_t num)
 {
     const unsigned char *data = data_;
-    register MD32_REG_T A, B, C, D, l;
+    register unsigned MD32_REG_T A, B, C, D, l;
 # ifndef MD32_XARRAY
     /* See comment in crypto/sha/sha_local.h for details. */
     unsigned MD32_REG_T XX0, XX1, XX2, XX3, XX4, XX5, XX6, XX7,
diff -r 7ba10f99cb13 -r b71d6b766bf4 crypto/external/bsd/openssl/dist/crypto/ripemd/rmd_dgst.c
--- a/crypto/external/bsd/openssl/dist/crypto/ripemd/rmd_dgst.c Sun Mar 22 20:09:17 2020 +0000
+++ b/crypto/external/bsd/openssl/dist/crypto/ripemd/rmd_dgst.c Sun Mar 22 20:13:15 2020 +0000
@@ -36,8 +36,8 @@
 void ripemd160_block_data_order(RIPEMD160_CTX *ctx, const void *p, size_t num)
 {
     const unsigned char *data = p;
-    register MD32_REG_T A, B, C, D, E;
-    MD32_REG_T a, b, c, d, e, l;
+    register unsigned MD32_REG_T A, B, C, D, E;
+    unsigned MD32_REG_T a, b, c, d, e, l;
 # ifndef MD32_XARRAY
     /* See comment in crypto/sha/sha_local.h for details. */
     unsigned MD32_REG_T XX0, XX1, XX2, XX3, XX4, XX5, XX6, XX7,
diff -r 7ba10f99cb13 -r b71d6b766bf4 crypto/external/bsd/openssl/dist/crypto/sha/sha256.c
--- a/crypto/external/bsd/openssl/dist/crypto/sha/sha256.c      Sun Mar 22 20:09:17 2020 +0000
+++ b/crypto/external/bsd/openssl/dist/crypto/sha/sha256.c      Sun Mar 22 20:13:15 2020 +0000
@@ -168,7 +168,7 @@
 static void sha256_block_data_order(SHA256_CTX *ctx, const void *in,
                                     size_t num)
 {
-    MD32_REG_T a, b, c, d, e, f, g, h, s0, s1, T1, T2;
+    unsigned MD32_REG_T a, b, c, d, e, f, g, h, s0, s1, T1, T2;
     SHA_LONG X[16], l;
     int i;
     const unsigned char *data = in;
@@ -246,7 +246,7 @@
 static void sha256_block_data_order(SHA256_CTX *ctx, const void *in,
                                     size_t num)
 {
-    MD32_REG_T a, b, c, d, e, f, g, h, s0, s1, T1;
+    unsigned MD32_REG_T a, b, c, d, e, f, g, h, s0, s1, T1;
     SHA_LONG X[16];
     int i;
     const unsigned char *data = in;



Home | Main Index | Thread Index | Old Index