1From fee3065756fb041241389e49991454ec62cc3d47 Mon Sep 17 00:00:00 2001
2From: Michael Forney <mforney@mforney.org>
3Date: Fri, 30 Apr 2021 18:14:07 -0700
4Subject: [PATCH] Remove unneeded ';' at top level
5
6This is not allowed in the ISO C grammar.
7---
8 crypto/x509/x509_issuer_cache.c | 4 ++--
9 crypto/x509/x509_lib.c | 2 +-
10 2 files changed, 3 insertions(+), 3 deletions(-)
11
12diff --git a/crypto/x509/x509_issuer_cache.c b/crypto/x509/x509_issuer_cache.c
13index 070e85b..12afd6d 100644
14--- a/crypto/x509/x509_issuer_cache.c
15+++ b/crypto/x509/x509_issuer_cache.c
16@@ -53,8 +53,8 @@ static TAILQ_HEAD(lruqueue, x509_issuer) x509_issuer_lru =
17 TAILQ_HEAD_INITIALIZER(x509_issuer_lru);
18 static pthread_mutex_t x509_issuer_tree_mutex = PTHREAD_MUTEX_INITIALIZER;
19
20-RB_PROTOTYPE(x509_issuer_tree, x509_issuer, entry, x509_issuer_cmp);
21-RB_GENERATE(x509_issuer_tree, x509_issuer, entry, x509_issuer_cmp);
22+RB_PROTOTYPE(x509_issuer_tree, x509_issuer, entry, x509_issuer_cmp)
23+RB_GENERATE(x509_issuer_tree, x509_issuer, entry, x509_issuer_cmp)
24
25 /*
26 * Set the maximum number of cached entries. On additions to the cache
27diff --git a/crypto/x509/x509_lib.c b/crypto/x509/x509_lib.c
28index 0285ac0..d5f07e0 100644
29--- a/crypto/x509/x509_lib.c
30+++ b/crypto/x509/x509_lib.c
31@@ -162,7 +162,7 @@ X509V3_EXT_get_nid(int nid)
32 default:
33 return NULL;
34 }
35-};
36+}
37 LCRYPTO_ALIAS(X509V3_EXT_get_nid);
38
39 const X509V3_EXT_METHOD *
40--
412.49.0
42