Lines Matching refs:cert
37 static int get_cert_chain(X509 *cert, X509_STORE *store,
117 {"chain", OPT_CHAIN, '-', "Build and add certificate chain for EE cert,"},
119 "which is the 1st cert from -in matching the private key (if given)"},
166 /* use library defaults for the iter, maciter, cert, and key PBE */
570 "No cert in -in file '%s' matches private key\n",
584 /* If chaining get chain from end entity cert */
591 /* Assume the first cert if we haven't got anything else */
1000 static int get_cert_chain(X509 *cert, X509_STORE *store,
1013 if (!X509_STORE_CTX_init(store_ctx, store, cert, untrusted_certs)) {
1122 X509 *cert;
1124 while ((cert = PEM_read_bio_X509(in, NULL, NULL, NULL))) {
1126 if (!sk_X509_push(sk, cert))