commit | 66d00307aa06a9cd3c32187aa358210300ab814b | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@google.com> | Mon Jan 30 16:00:38 2023 -0500 |
committer | David Benjamin <davidben@google.com> | Mon Jan 30 16:02:49 2023 -0500 |
tree | 9428a3cd66e64c67396a9b8a974fb587ffff5b41 | |
parent | 1cd35f0006df43fe4346fc09c1e0354424ae211f [diff] |
Use BoringSSL accessors to set up EVP_PKEY. Constructing an RSA object is sadly a bit tedious, but that's the API OpenSSL came up with. While I'm here, switch an EVP_PKEY_get1_RSA to EVP_PKEY_get0_RSA; we can avoid an unnecessary refcount bump. Test: mm Change-Id: I8b368ea1efa71e3f8b3cd0c734c1cdd0f2c964e5