From 6cfb9b790cbfab624eb4d79c85ea846f25792af3 Mon Sep 17 00:00:00 2001 From: max furman Date: Tue, 13 Apr 2021 14:53:05 -0700 Subject: [PATCH] Remove check of deprecated value - NegotiatedProtocolIsMutual is always true: Deprecated according to golang docs --- acme/challenge.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acme/challenge.go b/acme/challenge.go index a47fc7df..1059e437 100644 --- a/acme/challenge.go +++ b/acme/challenge.go @@ -134,7 +134,7 @@ func tlsalpn01Validate(ctx context.Context, ch *Challenge, db DB, jwk *jose.JSON "%s challenge for %s resulted in no certificates", ch.Type, ch.Value)) } - if !cs.NegotiatedProtocolIsMutual || cs.NegotiatedProtocol != "acme-tls/1" { + if cs.NegotiatedProtocol != "acme-tls/1" { return storeError(ctx, db, ch, true, NewError(ErrorRejectedIdentifierType, "cannot negotiate ALPN acme-tls/1 protocol for tls-alpn-01 challenge")) }