diff options
Diffstat (limited to 'dev-libs/nss/files')
-rw-r--r-- | dev-libs/nss/files/nss-3.79-fix-client-cert-crash.patch | 23 | ||||
-rw-r--r-- | dev-libs/nss/files/nss-3.79-gcc-13.patch | 33 |
2 files changed, 0 insertions, 56 deletions
diff --git a/dev-libs/nss/files/nss-3.79-fix-client-cert-crash.patch b/dev-libs/nss/files/nss-3.79-fix-client-cert-crash.patch deleted file mode 100644 index 5f80fdc09b7e..000000000000 --- a/dev-libs/nss/files/nss-3.79-fix-client-cert-crash.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/lib/ssl/authcert.c b/lib/ssl/authcert.c ---- a/lib/ssl/authcert.c -+++ b/lib/ssl/authcert.c -@@ -212,17 +212,17 @@ NSS_GetClientAuthData(void *arg, - pw_arg); - } else { - int nnames = 0; - char **names = ssl_DistNamesToStrings(caNames, &nnames); - rv = CERT_FilterCertListByCANames(certList, nnames, names, - certUsageSSLClient); - ssl_FreeDistNamesStrings(names, nnames); - } -- if ((rv != SECSuccess) || CERT_LIST_EMPTY(certList)) { -+ if ((rv != SECSuccess) || (certList && CERT_LIST_EMPTY(certList))) { - CERT_DestroyCertList(certList); - certList = NULL; - } - } - if (certList == NULL) { - /* no user certs meeting the nickname/usage requirements found */ - return SECFailure; - } - diff --git a/dev-libs/nss/files/nss-3.79-gcc-13.patch b/dev-libs/nss/files/nss-3.79-gcc-13.patch deleted file mode 100644 index 04bd977f3020..000000000000 --- a/dev-libs/nss/files/nss-3.79-gcc-13.patch +++ /dev/null @@ -1,33 +0,0 @@ -https://github.com/nss-dev/nss/commit/edf5cb12af8a4668997b7edb65c7add4a1390b09 -https://bugs.gentoo.org/849005 - -From: Sergei Trofimovich <slyich@gmail.com> -Date: Thu, 26 May 2022 08:08:39 +0000 -Subject: [PATCH] Bug 1771273 - cpputil/databuffer.h: add missing <cstdint> - include r=nss-reviewers,mt - -Without the change build fails on this week's gcc-13 snapshot as: - - ../../cpputil/databuffer.h:20:20: error: 'uint8_t' does not name a type - 20 | DataBuffer(const uint8_t* d, size_t l) : data_(nullptr), len_(0) { - | ^~~~~~~ - ../../cpputil/databuffer.h:14:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'? - 13 | #include <iostream> - +++ |+#include <cstdint> - 14 | - -Differential Revision: https://phabricator.services.mozilla.com/D147404 - ---HG-- -extra : moz-landing-system : lando ---- a/cpputil/databuffer.h -+++ b/cpputil/databuffer.h -@@ -11,6 +11,7 @@ - #include <cstring> - #include <iomanip> - #include <iostream> -+#include <cstdint> - - namespace nss_test { - - |