android: Private key bug has been fixed with Android 4.2

This commit is contained in:
Tobias Brunner 2012-11-15 17:25:44 +01:00
parent 76bd0d7c1f
commit 277ff80a2e
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ METHOD(private_key_t, destroy, void,
JNIEnv *env;
androidjni_attach_thread(&env);
if (android_sdk_version >= ANDROID_JELLY_BEAN)
if (android_sdk_version == ANDROID_JELLY_BEAN)
{ /* there is a bug in JB that causes a SIGSEGV if the key object is
* garbage collected so we intentionally leak the reference to it */
DBG1(DBG_LIB, "intentionally leaking private key reference due to "