support of ECDSA signatures for all certificate types
[strongswan.git] / src / libstrongswan / plugins / x509 / x509_ac.c
index 4a9e1cd..cfa38c6 100644 (file)
@@ -796,6 +796,9 @@ static bool issued_by(private_x509_ac_t *this, certificate_t *issuer)
                case OID_SHA512_WITH_RSA:
                        scheme = SIGN_RSA_EMSA_PKCS1_SHA512;
                        break;
+               case OID_ECDSA_WITH_SHA1:
+                       scheme = SIGN_ECDSA_WITH_SHA1;
+                       break;
                default:
                        return FALSE;
        }