Merge "Load crypto plugins from additional shared libraries" into jb-mr2-dev

This commit is contained in:
Jeff Tinker
2013-03-25 20:18:18 +00:00
committed by Android (Google) Code Review

View File

@@ -74,7 +74,7 @@ sp<ICrypto> JCrypto::MakeCrypto() {
sp<ICrypto> crypto = service->makeCrypto();
if (crypto == NULL || crypto->initCheck() != OK) {
if (crypto == NULL || (crypto->initCheck() != OK && crypto->initCheck() != NO_INIT)) {
return NULL;
}