diff options
author | lloyd <[email protected]> | 2010-03-17 17:02:07 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-17 17:02:07 +0000 |
commit | c20f78d4cd8af2f2ec5792215f879faa3291f6f5 (patch) | |
tree | 8e1ff032edd983d058921f1c3f193dc4ad567f9f /src/cert/cvc | |
parent | 6cb0124106f9bc71b94f1f884a86bc32ec0b1772 (diff) |
Initialize m_pk to null in constructor
Diffstat (limited to 'src/cert/cvc')
-rw-r--r-- | src/cert/cvc/cvc_gen_cert.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cert/cvc/cvc_gen_cert.h b/src/cert/cvc/cvc_gen_cert.h index 4ad8cfaac..f37684afd 100644 --- a/src/cert/cvc/cvc_gen_cert.h +++ b/src/cert/cvc/cvc_gen_cert.h @@ -77,6 +77,8 @@ class EAC1_1_gen_CVC : public EAC1_1_obj<Derived> // CRTP continuation from EAC1 const MemoryRegion<byte>& tbs_bits, RandomNumberGenerator& rng); + EAC1_1_gen_CVC() { m_pk = 0; } + virtual ~EAC1_1_gen_CVC<Derived>() { delete m_pk; } |