distinguish between RFC 4754 (concatenated) and RFC 3279 (DER encoded) ECDSA signatures

This commit is contained in:
Martin Willi
2009-08-27 17:37:42 +02:00
parent 78aa4ebd62
commit 472cb4ce77
6 changed files with 151 additions and 192 deletions
+1 -1
View File
@@ -1249,7 +1249,7 @@ static bool generate(private_builder_t *this)
scheme = SIGN_RSA_EMSA_PKCS1_SHA1;
break;
case KEY_ECDSA:
scheme = SIGN_ECDSA_WITH_SHA1;
scheme = SIGN_ECDSA_WITH_SHA1_DER;
this->cert->algorithm = OID_ECDSA_WITH_SHA1;
break;
default: