Lines Matching refs:x509
64 #include <openssl/x509.h>
67 static int ssl_set_cert(CERT *c, X509 *x509);
181 if (c->pkeys[i].x509 != NULL) {
183 pktmp = X509_get_pubkey(c->pkeys[i].x509);
197 if (!X509_check_private_key(c->pkeys[i].x509, pkey)) {
198 X509_free(c->pkeys[i].x509);
199 c->pkeys[i].x509 = NULL;
413 if (c->pkeys[i].x509 != NULL)
414 X509_free(c->pkeys[i].x509);
416 c->pkeys[i].x509 = x;