summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@google.com>2017-12-15 18:35:49 -0500
committerDavid Benjamin <davidben@google.com>2017-12-15 18:37:02 -0500
commit48d2ea912e2e273511afc679e705cc1db5037fc9 (patch)
tree52cb5e1d5cc4e803eafda104e482d3bff12caf7e
parent879d439e266ee714145b61a6caa25a93f51d288c (diff)
downloadsecurity-48d2ea912e2e273511afc679e705cc1db5037fc9.tar.gz
Remove RSA_FLAG_CACHE_PUBLIC.
This flag hasn't done anything in BoringSSL since March 2016. Test: mma Change-Id: I3972d7c006daa4370772363d7debf64b0c9713da
-rw-r--r--keystore-engine/android_engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystore-engine/android_engine.cpp b/keystore-engine/android_engine.cpp
index 779437d4..bb0356b7 100644
--- a/keystore-engine/android_engine.cpp
+++ b/keystore-engine/android_engine.cpp
@@ -199,7 +199,7 @@ class KeystoreEngine {
memset(&rsa_method_, 0, sizeof(rsa_method_));
rsa_method_.common.is_static = 1;
rsa_method_.private_transform = rsa_private_transform;
- rsa_method_.flags = RSA_FLAG_CACHE_PUBLIC | RSA_FLAG_OPAQUE;
+ rsa_method_.flags = RSA_FLAG_OPAQUE;
ENGINE_set_RSA_method(engine_, &rsa_method_, sizeof(rsa_method_));
memset(&ecdsa_method_, 0, sizeof(ecdsa_method_));