From 5edce4f6502149cf328d084e8ac8ea66744fdd93 Mon Sep 17 00:00:00 2001 From: Leif Hedstrom Date: Tue, 31 Jan 2023 16:22:10 -0700 Subject: [PATCH] Cleanup of legacy, makes newer clang-format crash right now --- plugins/experimental/sslheaders/expand.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/experimental/sslheaders/expand.cc b/plugins/experimental/sslheaders/expand.cc index 174d3709ef0..76ea91804e9 100644 --- a/plugins/experimental/sslheaders/expand.cc +++ b/plugins/experimental/sslheaders/expand.cc @@ -105,7 +105,7 @@ x509_expand_notafter(X509 *x509, BIO *bio) ASN1_TIME_print(bio, time); } -static const std::array expansions = {{ +static const std::array expansions = { x509_expand_none, // SSL_HEADERS_FIELD_NONE x509_expand_certificate, // SSL_HEADERS_FIELD_CERTIFICATE x509_expand_subject, // SSL_HEADERS_FIELD_SUBJECT @@ -114,7 +114,7 @@ static const std::array expansions = {{ x509_expand_signature, // SSL_HEADERS_FIELD_SIGNATURE x509_expand_notbefore, // SSL_HEADERS_FIELD_NOTBEFORE x509_expand_notafter, // SSL_HEADERS_FIELD_NOTAFTER -}}; +}; bool SslHdrExpandX509Field(BIO *bio, X509 *x509, ExpansionField field)