aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/x509/x509_cert.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2009-08-27 17:36:17 +0200
committerMartin Willi <martin@strongswan.org>2009-08-27 17:37:42 +0200
commit472cb4ce77295feebc6deff49d863ea1917576cb (patch)
tree177a006d5652b3eee048500d83ba2526041886e7 /src/libstrongswan/plugins/x509/x509_cert.c
parent78aa4ebd6296d8447914cdd0b9e53cc1f4343806 (diff)
downloadstrongswan-472cb4ce77295feebc6deff49d863ea1917576cb.tar.bz2
strongswan-472cb4ce77295feebc6deff49d863ea1917576cb.tar.xz
distinguish between RFC 4754 (concatenated) and RFC 3279 (DER encoded) ECDSA signatures
Diffstat (limited to 'src/libstrongswan/plugins/x509/x509_cert.c')
-rw-r--r--src/libstrongswan/plugins/x509/x509_cert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/x509/x509_cert.c b/src/libstrongswan/plugins/x509/x509_cert.c
index 8a68e9df0..c8d0dabc0 100644
--- a/src/libstrongswan/plugins/x509/x509_cert.c
+++ b/src/libstrongswan/plugins/x509/x509_cert.c
@@ -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: