Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto: simplify assertions in Safe*Print
Checking the X509V3_EXT_METHOD doesn't do anything. X509V3_EXT_get is already implemented by calling X509V3_EXT_get_nid on the extension's NID. We may as well just check the NID directly. PR-URL: #49709 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Richard Lau <rlau@redhat.com>
- Loading branch information