aboutsummaryrefslogtreecommitdiffstats
path: root/src/cert/cvc/cvc_ado.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-02 19:23:27 +0000
committerlloyd <[email protected]>2010-03-02 19:23:27 +0000
commitb43cc46149b6d653fb403b2f4c6b28483b6b975a (patch)
tree4a3762c6223a51ac0be4e6cbb77127de9ef56be6 /src/cert/cvc/cvc_ado.cpp
parent200e88602c2f5d3b09ee6f1caaac3d14da6c8860 (diff)
CVC assumed sigs were DER encoded by default. Not true
Diffstat (limited to 'src/cert/cvc/cvc_ado.cpp')
-rw-r--r--src/cert/cvc/cvc_ado.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cert/cvc/cvc_ado.cpp b/src/cert/cvc/cvc_ado.cpp
index 5ff27020d..8c38e90ae 100644
--- a/src/cert/cvc/cvc_ado.cpp
+++ b/src/cert/cvc/cvc_ado.cpp
@@ -49,8 +49,7 @@ MemoryVector<byte> EAC1_1_ADO::make_signed(PK_Signer& signer,
const MemoryRegion<byte>& tbs_bits,
RandomNumberGenerator& rng)
{
- SecureVector<byte> concat_sig =
- EAC1_1_obj<EAC1_1_ADO>::make_signature(signer, tbs_bits, rng);
+ SecureVector<byte> concat_sig = signer.sign_message(tbs_bits, rng);
return DER_Encoder()
.start_cons(ASN1_Tag(7), APPLICATION)