aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-12-23 08:42:45 -0500
committerJack Lloyd <[email protected]>2017-12-23 08:42:45 -0500
commitd79347f0ffbc4e5f102531f0d0d3f703a64b55b2 (patch)
tree7441ad124893d3895ac280aac800e8dfb7b14a00 /src/lib
parentffc1ac4da043f8fa9a59cc2d83f7fb0744340a14 (diff)
Initialize CRL_Code field in CRL_Entry data
If no extensions in the CRL, the field was left uninitialized
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/x509/crl_ent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/x509/crl_ent.cpp b/src/lib/x509/crl_ent.cpp
index 046659661..38a1963f1 100644
--- a/src/lib/x509/crl_ent.cpp
+++ b/src/lib/x509/crl_ent.cpp
@@ -18,7 +18,7 @@ struct CRL_Entry_Data
{
std::vector<uint8_t> m_serial;
X509_Time m_time;
- CRL_Code m_reason;
+ CRL_Code m_reason = UNSPECIFIED;
Extensions m_extensions;
};