added parsing level to x509_create_from_chunk()
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 7 Mar 2007 22:58:25 +0000 (22:58 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 7 Mar 2007 22:58:25 +0000 (22:58 -0000)
src/charon/sa/tasks/ike_cert.c

index 3cddc00..070a9af 100644 (file)
@@ -124,7 +124,7 @@ static void process_certs(private_ike_cert_t *this, message_t *message)
                        }
                        
                        cert_data = cert_payload->get_data_clone(cert_payload);
-                       cert = x509_create_from_chunk(cert_data);
+                       cert = x509_create_from_chunk(cert_data, 0);
                        if (cert)
                        {
                                if (charon->credentials->verify(charon->credentials,