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 <[email protected]> Reviewed-By: Richard Lau <[email protected]>
- Loading branch information