diff options
author | Brent Cook <busterb@gmail.com> | 2023-02-07 10:25:48 -0600 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2023-02-07 10:25:48 -0600 |
commit | d0bfd7476ce462f642aac827cc23bdc2bc78b13b (patch) | |
tree | c4275dc2c8c9c45b35b49e9ca83194419b333229 /patches | |
parent | 1e562926d80ae8006296eb7926de6cbebc32d3ee (diff) | |
download | portable-3.5.4.tar.gz portable-3.5.4.tar.bz2 portable-3.5.4.zip |
security updatev3.5.4
Diffstat (limited to '')
-rw-r--r-- | patches/opensslv.h | 6 | ||||
-rw-r--r-- | patches/x509_genn.c.diff | 17 |
2 files changed, 20 insertions, 3 deletions
diff --git a/patches/opensslv.h b/patches/opensslv.h index f24afb9..2f7b1f9 100644 --- a/patches/opensslv.h +++ b/patches/opensslv.h | |||
@@ -1,11 +1,11 @@ | |||
1 | /* $OpenBSD: opensslv.h,v 1.69 2022/03/15 21:15:08 bcook Exp $ */ | 1 | /* $OpenBSD: opensslv.h,v 1.70 2022/07/04 12:31:55 tb Exp $ */ |
2 | #ifndef HEADER_OPENSSLV_H | 2 | #ifndef HEADER_OPENSSLV_H |
3 | #define HEADER_OPENSSLV_H | 3 | #define HEADER_OPENSSLV_H |
4 | 4 | ||
5 | /* These will change with each release of LibreSSL-portable */ | 5 | /* These will change with each release of LibreSSL-portable */ |
6 | #define LIBRESSL_VERSION_NUMBER 0x3050300fL | 6 | #define LIBRESSL_VERSION_NUMBER 0x3050400fL |
7 | /* ^ Patch starts here */ | 7 | /* ^ Patch starts here */ |
8 | #define LIBRESSL_VERSION_TEXT "LibreSSL 3.5.3" | 8 | #define LIBRESSL_VERSION_TEXT "LibreSSL 3.5.4" |
9 | 9 | ||
10 | /* These will never change */ | 10 | /* These will never change */ |
11 | #define OPENSSL_VERSION_NUMBER 0x20000000L | 11 | #define OPENSSL_VERSION_NUMBER 0x20000000L |
diff --git a/patches/x509_genn.c.diff b/patches/x509_genn.c.diff new file mode 100644 index 0000000..1c6ea8c --- /dev/null +++ b/patches/x509_genn.c.diff | |||
@@ -0,0 +1,17 @@ | |||
1 | Index: lib/libcrypto/x509/x509_genn.c | ||
2 | =================================================================== | ||
3 | RCS file: /cvs/src/lib/libcrypto/x509/x509_genn.c,v | ||
4 | retrieving revision 1.2 | ||
5 | diff -u -p -r1.2 x509_genn.c | ||
6 | --- lib/libcrypto/x509/x509_genn.c 8 Dec 2020 15:06:42 -0000 1.2 | ||
7 | +++ lib/libcrypto/x509/x509_genn.c 24 Jan 2023 09:43:06 -0000 | ||
8 | @@ -366,7 +366,8 @@ GENERAL_NAME_cmp(GENERAL_NAME *a, GENERA | ||
9 | return -1; | ||
10 | switch (a->type) { | ||
11 | case GEN_X400: | ||
12 | - result = ASN1_TYPE_cmp(a->d.x400Address, b->d.x400Address); | ||
13 | + result = ASN1_STRING_cmp((ASN1_STRING *)a->d.x400Address, | ||
14 | + (ASN1_STRING *)b->d.x400Address); | ||
15 | break; | ||
16 | |||
17 | case GEN_EDIPARTY: | ||