summaryrefslogtreecommitdiff
path: root/pkg/libressl
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-04-30 18:15:05 -0700
committerMichael Forney <mforney@mforney.org>2021-05-01 01:49:41 -0700
commit067726357a97afc4bf6de036a4e294638632a5c1 (patch)
treebd624bfe687a83a7e64f110dc4cc37e633ca8358 /pkg/libressl
parent1acda83c82a46f72c85c8b0d62fac037ebce121d (diff)
libressl: Remove a couple extra ';' at top-level
Diffstat (limited to 'pkg/libressl')
-rw-r--r--pkg/libressl/patch/0002-Remove-unneeded-at-top-level.patch28
-rw-r--r--pkg/libressl/ver2
2 files changed, 29 insertions, 1 deletions
diff --git a/pkg/libressl/patch/0002-Remove-unneeded-at-top-level.patch b/pkg/libressl/patch/0002-Remove-unneeded-at-top-level.patch
new file mode 100644
index 00000000..c23623bb
--- /dev/null
+++ b/pkg/libressl/patch/0002-Remove-unneeded-at-top-level.patch
@@ -0,0 +1,28 @@
+From adc84eef824bd6d685848965bc1271272a723727 Mon Sep 17 00:00:00 2001
+From: Michael Forney <mforney@mforney.org>
+Date: Fri, 30 Apr 2021 18:14:07 -0700
+Subject: [PATCH] Remove unneeded ';' at top level
+
+This is not allowed in the ISO C grammar.
+---
+ crypto/x509/x509_issuer_cache.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/crypto/x509/x509_issuer_cache.c b/crypto/x509/x509_issuer_cache.c
+index 26cde17..d1af24a 100644
+--- a/crypto/x509/x509_issuer_cache.c
++++ b/crypto/x509/x509_issuer_cache.c
+@@ -53,8 +53,8 @@ static TAILQ_HEAD(lruqueue, x509_issuer) x509_issuer_lru =
+ TAILQ_HEAD_INITIALIZER(x509_issuer_lru);
+ static pthread_mutex_t x509_issuer_tree_mutex = PTHREAD_MUTEX_INITIALIZER;
+
+-RB_PROTOTYPE(x509_issuer_tree, x509_issuer, entry, x509_issuer_cmp);
+-RB_GENERATE(x509_issuer_tree, x509_issuer, entry, x509_issuer_cmp);
++RB_PROTOTYPE(x509_issuer_tree, x509_issuer, entry, x509_issuer_cmp)
++RB_GENERATE(x509_issuer_tree, x509_issuer, entry, x509_issuer_cmp)
+
+ /*
+ * Set the maximum number of cached entries. On additions to the cache
+--
+2.31.1
+
diff --git a/pkg/libressl/ver b/pkg/libressl/ver
index 0f24c26e..38bd7cae 100644
--- a/pkg/libressl/ver
+++ b/pkg/libressl/ver
@@ -1 +1 @@
-3.3.2 r0
+3.3.2 r1