Home | History | Annotate | Download | only in racoon

Lines Matching refs:cert_ctx

485 	X509_STORE *cert_ctx = NULL;
491 cert_ctx = X509_STORE_new();
492 if (cert_ctx == NULL)
496 X509_STORE_set_verify_cb_func(cert_ctx, cb_check_cert_local);
498 X509_STORE_set_verify_cb_func(cert_ctx, cb_check_cert_remote);
518 X509_STORE_add_cert(cert_ctx, info->x509);
521 X509_STORE_add_crl(cert_ctx, info->crl);
527 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_file());
534 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_hash_dir());
555 X509_STORE_CTX_init(csc, cert_ctx, x509, NULL);
572 if (cert_ctx != NULL)
573 X509_STORE_free(cert_ctx);