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);
209 if (!X509_check_private_key(c->pkeys[i].x509,pkey))
211 X509_free(c->pkeys[i].x509);
212 c->pkeys[i].x509 = NULL;
443 if (c->pkeys[i].x509 != NULL)
444 X509_free(c->pkeys[i].x509);
446 c->pkeys[i].x509=x;