regen patches
authorTheo Buehler <[email protected]>
Fri, 24 Oct 2025 13:08:15 +0000 (24 07:08 -0600)
committerTheo Buehler <[email protected]>
Fri, 24 Oct 2025 13:12:24 +0000 (24 07:12 -0600)
patches/amd64_crypto_arch.h.patch
patches/mlkem_internal.h.patch
patches/netcat.c.patch
patches/win32_amd64_bn_arch.h.patch

index bf44458..e31f988 100644 (file)
@@ -1,6 +1,6 @@
---- crypto/arch/amd64/crypto_arch.h.orig       Sun Aug 17 13:14:19 2025
-+++ crypto/arch/amd64/crypto_arch.h    Sun Aug 24 23:47:56 2025
-@@ -48,6 +48,7 @@ extern uint64_t crypto_cpu_caps_amd64;
+--- crypto/arch/amd64/crypto_arch.h.orig       Fri Oct 24 07:06:10 2025
++++ crypto/arch/amd64/crypto_arch.h    Fri Oct 24 07:06:21 2025
+@@ -53,6 +53,7 @@ extern uint64_t crypto_cpu_caps_amd64;
  #define HAVE_RC4_INTERNAL
  #define HAVE_RC4_SET_KEY_INTERNAL
  
@@ -8,7 +8,7 @@
  #define HAVE_SHA1_BLOCK_DATA_ORDER
  #define HAVE_SHA1_BLOCK_GENERIC
  
-@@ -56,6 +57,7 @@ extern uint64_t crypto_cpu_caps_amd64;
+@@ -61,6 +62,7 @@ extern uint64_t crypto_cpu_caps_amd64;
  
  #define HAVE_SHA512_BLOCK_DATA_ORDER
  #define HAVE_SHA512_BLOCK_GENERIC
index b7cbdcf..ee25521 100644 (file)
@@ -1,6 +1,6 @@
---- crypto/mlkem/mlkem_internal.h.orig Sun Aug 17 13:20:18 2025
-+++ crypto/mlkem/mlkem_internal.h      Sun Aug 17 13:20:37 2025
-@@ -19,7 +19,7 @@
+--- crypto/mlkem/mlkem_internal.h.orig Fri Oct 24 07:06:10 2025
++++ crypto/mlkem/mlkem_internal.h      Fri Oct 24 07:06:22 2025
+@@ -20,7 +20,7 @@
  #define OPENSSL_HEADER_CRYPTO_MLKEM_INTERNAL_H
  
  #include "bytestring.h"
index 345a170..c6b9f68 100644 (file)
@@ -1,5 +1,5 @@
---- apps/nc/netcat.c.orig      Fri Jun 27 12:39:21 2025
-+++ apps/nc/netcat.c   Fri Jun 27 12:39:29 2025
+--- apps/nc/netcat.c.orig      Fri Oct 24 07:06:13 2025
++++ apps/nc/netcat.c   Fri Oct 24 07:06:22 2025
 @@ -93,9 +93,13 @@ int zflag;                                  /* Port Scan Flag */
  int   Dflag;                                  /* sodebug */
  int   Iflag;                                  /* TCP receive buffer size */
  
                set_common_sockopts(s, res->ai_family);
  
-@@ -1564,11 +1584,13 @@ set_common_sockopts(int s, int af)
+@@ -1569,11 +1589,13 @@ set_common_sockopts(int s, int af)
  {
        int x = 1;
  
        if (Dflag) {
                if (setsockopt(s, SOL_SOCKET, SO_DEBUG,
                    &x, sizeof(x)) == -1)
-@@ -1579,9 +1601,16 @@ set_common_sockopts(int s, int af)
+@@ -1584,9 +1606,16 @@ set_common_sockopts(int s, int af)
                    IP_TOS, &Tflag, sizeof(Tflag)) == -1)
                        err(1, "set IP ToS");
  
        }
        if (Iflag) {
                if (setsockopt(s, SOL_SOCKET, SO_RCVBUF,
-@@ -1605,13 +1634,17 @@ set_common_sockopts(int s, int af)
+@@ -1610,13 +1639,17 @@ set_common_sockopts(int s, int af)
        }
  
        if (minttl != -1) {
        }
  }
  
-@@ -1841,15 +1874,19 @@ help(void)
+@@ -1846,15 +1879,19 @@ help(void)
        \t-P proxyuser\tUsername for proxy authentication\n\
        \t-p port\t     Specify local port for remote connects\n\
        \t-R CAfile     CA bundle\n\
index baa82f8..a6a5ee9 100644 (file)
@@ -1,8 +1,8 @@
 We should consider a OPENSSL_NO_BN_ASM if we can't figure
 out how to fix BIGNUM on this OS
 
---- crypto/bn/arch/amd64/bn_arch.h.orig        Sun Aug 17 13:14:19 2025
-+++ crypto/bn/arch/amd64/bn_arch.h     Sun Aug 24 23:47:56 2025
+--- crypto/bn/arch/amd64/bn_arch.h.orig        Fri Oct 24 07:06:10 2025
++++ crypto/bn/arch/amd64/bn_arch.h     Fri Oct 24 07:06:22 2025
 @@ -20,8 +20,14 @@
  #ifndef HEADER_BN_ARCH_H
  #define HEADER_BN_ARCH_H
@@ -18,7 +18,7 @@ out how to fix BIGNUM on this OS
  #define HAVE_BN_ADD
  #define HAVE_BN_ADD_WORDS
  
-@@ -109,6 +115,7 @@ bn_subw(BN_ULONG a, BN_ULONG b, BN_ULONG *out_borrow, 
+@@ -110,6 +116,7 @@ bn_subw(BN_ULONG a, BN_ULONG b, BN_ULONG *out_borrow, 
  }
  
  #endif /* __GNUC__ */