Lines Matching refs:x509
64 #include <openssl/x509.h>
67 static int ssl_set_cert(CERT *c, X509 *x509);
193 if (c->pkeys[i].x509 != NULL)
196 pktmp = X509_get_pubkey(c->pkeys[i].x509);
210 if (!X509_check_private_key(c->pkeys[i].x509,pkey))
217 if (c->pkeys[i].x509 == NULL)
222 c->pkeys[i].x509,pkey))
239 X509_free(c->pkeys[i].x509);
240 c->pkeys[i].x509=NULL;
488 if (c->pkeys[i].x509 != NULL)
489 X509_free(c->pkeys[i].x509);
491 c->pkeys[i].x509=x;