diff options
| author | Michael Forney <mforney@mforney.org> | 2021-04-30 18:15:05 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2021-05-01 01:49:41 -0700 |
| commit | 067726357a97afc4bf6de036a4e294638632a5c1 (patch) | |
| tree | bd624bfe687a83a7e64f110dc4cc37e633ca8358 /pkg/libressl/patch/0002-Remove-unneeded-at-top-level.patch | |
| parent | 1acda83c82a46f72c85c8b0d62fac037ebce121d (diff) | |
libressl: Remove a couple extra ';' at top-level
Diffstat (limited to 'pkg/libressl/patch/0002-Remove-unneeded-at-top-level.patch')
| -rw-r--r-- | pkg/libressl/patch/0002-Remove-unneeded-at-top-level.patch | 28 |
1 files changed, 28 insertions, 0 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 + |
