aboutsummaryrefslogtreecommitdiffstats
path: root/Source/lib/crypto/x509.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/lib/crypto/x509.c')
-rwxr-xr-xSource/lib/crypto/x509.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/lib/crypto/x509.c b/Source/lib/crypto/x509.c
index 1f2e72932..2b99b2d03 100755
--- a/Source/lib/crypto/x509.c
+++ b/Source/lib/crypto/x509.c
@@ -1638,6 +1638,8 @@ x509_t *x509_create_from_chunk(chunk_t chunk)
this->subjectAltName = NULL;
this->crlDistributionPoints = NULL;
+ logger = logger_manager->get_logger(logger_manager, ASN1);
+
if (!parse_x509cert(chunk, 0, this))
{
destroy(this);