Skip to content

crypto: use EVP_get_cipherbynid directly

Small cleanup - instead of calling OBJ_nid2sn(nid) and passing that result to EVP_get_cipherbyname, we can pass the nid directly to EVP_get_cipherbynid.

Works with BoringSSL and OpenSSL both.

Merge request reports

Loading