From: Tobias Brunner Date: Wed, 10 Sep 2014 14:54:12 +0000 (+0200) Subject: android: Allow enumeration of untrusted certificates X-Git-Tag: 5.2.2dr1~41^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ef74bec98fdc807899b7a822de9ea6592e0589b;p=thirdparty%2Fstrongswan.git android: Allow enumeration of untrusted certificates --- diff --git a/src/frontends/android/jni/libandroidbridge/backend/android_creds.c b/src/frontends/android/jni/libandroidbridge/backend/android_creds.c index e0f6e8e6f4..ddc032638e 100644 --- a/src/frontends/android/jni/libandroidbridge/backend/android_creds.c +++ b/src/frontends/android/jni/libandroidbridge/backend/android_creds.c @@ -92,7 +92,7 @@ METHOD(credential_set_t, create_cert_enumerator, enumerator_t*, { enumerator_t *enumerator; - if (!trusted || (cert != CERT_ANY && cert != CERT_X509)) + if (cert != CERT_ANY && cert != CERT_X509) { return NULL; }