Home | History | Annotate | Download | only in ssl

Lines Matching refs:X509

64 #include <openssl/x509.h>
67 static int ssl_set_cert(CERT *c, X509 *x509);
69 int SSL_use_certificate(SSL *ssl, X509 *x)
90 X509 *x=NULL;
136 X509 *x;
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;
379 int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x)
394 static int ssl_set_cert(CERT *c, X509 *x)
443 if (c->pkeys[i].x509 != NULL)
444 X509_free(c->pkeys[i].x509);
446 c->pkeys[i].x509=x;
459 X509 *x=NULL;
505 X509 *x;
700 int SSL_use_certificate_chain(SSL *ssl, STACK_OF(X509) *cert_chain)
721 STACK_OF(X509) *SSL_get_certificate_chain(SSL *ssl, X509 *x)
731 if (ssl->cert->pkeys[i].x509 == x)
745 X509 *x=NULL;
777 X509 *ca;