- fixed log-to-syslog behavior
[strongswan.git] / Source / lib / crypto / x509.c
index 1f2e729..2b99b2d 100755 (executable)
@@ -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);