Remove RSA_FLAG_EXT_PKEY from android_engine.cpp.

RSA_FLAG_EXT_PKEY, despite the name, is only about calling the RSA_METHOD's
mod_exp hook while reusing the rest of the RSA_private_transform logic. This
code doesn't provide mod_exp and instead overrides private_transform, so the
flag is a no-op.
This commit is contained in:
David Benjamin 2016-03-28 18:00:17 -04:00
parent 0348d006cb
commit 30c77521ca

View file

@ -217,7 +217,7 @@ const struct rsa_meth_st keystore_rsa_method = {
NULL /* mod_exp */,
NULL /* bn_mod_exp */,
RSA_FLAG_CACHE_PUBLIC | RSA_FLAG_OPAQUE | RSA_FLAG_EXT_PKEY,
RSA_FLAG_CACHE_PUBLIC | RSA_FLAG_OPAQUE,
NULL /* keygen */,
NULL /* multi_prime_keygen */,