]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
android: Allow enumeration of untrusted certificates
authorTobias Brunner <tobias@strongswan.org>
Wed, 10 Sep 2014 14:54:12 +0000 (16:54 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 6 Nov 2014 15:28:40 +0000 (16:28 +0100)
src/frontends/android/jni/libandroidbridge/backend/android_creds.c

index e0f6e8e6f4230d15c436c98129d214087a89e625..ddc032638e12eba74ac82a8a4237a7550bf3dfcf 100644 (file)
@@ -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;
        }