Lines Matching refs:x509
1311 X509 *x509; in cert_stuff() local
1472 if(!PKCS12_parse(p12, key_passwd, &pri, &x509, in cert_stuff()
1485 if(SSL_CTX_use_certificate(ctx, x509) != 1) { in cert_stuff()
1532 X509_free(x509); in cert_stuff()
1635 x509 = SSL_get_certificate(ssl); in cert_stuff()
1639 if(x509) { in cert_stuff()
1640 EVP_PKEY *pktmp = X509_get_pubkey(x509); in cert_stuff()
2971 if(itmp->x509) { in load_cacert_from_memory()
2972 if(X509_STORE_add_cert(store, itmp->x509)) { in load_cacert_from_memory()
3026 X509 *x509; in import_windows_cert_store() local
3116 x509 = d2i_X509(NULL, &encoded_cert, (long)pContext->cbCertEncoded); in import_windows_cert_store()
3117 if(!x509) in import_windows_cert_store()
3123 if(X509_STORE_add_cert(store, x509) == 1) { in import_windows_cert_store()
3129 X509_free(x509); in import_windows_cert_store()