From 472cb4ce77295feebc6deff49d863ea1917576cb Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Thu, 27 Aug 2009 17:36:17 +0200 Subject: distinguish between RFC 4754 (concatenated) and RFC 3279 (DER encoded) ECDSA signatures --- src/libstrongswan/plugins/x509/x509_ocsp_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstrongswan/plugins/x509/x509_ocsp_request.c') diff --git a/src/libstrongswan/plugins/x509/x509_ocsp_request.c b/src/libstrongswan/plugins/x509/x509_ocsp_request.c index f65fa6d12..e772b9720 100644 --- a/src/libstrongswan/plugins/x509/x509_ocsp_request.c +++ b/src/libstrongswan/plugins/x509/x509_ocsp_request.c @@ -266,7 +266,7 @@ static chunk_t build_optionalSignature(private_x509_ocsp_request_t *this, break; case KEY_ECDSA: oid = OID_ECDSA_WITH_SHA1; - scheme = SIGN_ECDSA_WITH_SHA1; + scheme = SIGN_ECDSA_WITH_SHA1_DER; break; default: DBG1("unable to sign OCSP request, %N signature not supported", -- cgit v1.2.3