]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: remove unnecessary !Empty() check
authorMateusz Poliwczak <mpoliwczak34@gmail.com>
Thu, 23 Mar 2023 10:57:36 +0000 (10:57 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 24 Mar 2023 02:45:13 +0000 (02:45 +0000)
commit7ec2e8442415bd7d15819cf2aeba3a678223c81c
treeb61140c2a5c46154784774f62ec2fe1a4be5e79a
parent33b634803b55d3a27798c8e42f547558efec0711
crypto/x509: remove unnecessary !Empty() check

This check is already done by PeekASN1Tag.

Change-Id: Ieba0e35548f7f99bce689d29adaea6b8e471cc70
GitHub-Last-Rev: b4ef3dcc2307839cb7575cf29c3e6445b6a7520e
GitHub-Pull-Request: golang/go#59197
Reviewed-on: https://go-review.googlesource.com/c/go/+/478835
Reviewed-by: Roland Shoemaker <roland@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
src/crypto/x509/parser.go