Lines Matching refs:cert
356 fprintf(stderr," -cert arg - Server certificate file\n");
357 fprintf(stderr," -key arg - Server key file (default: same as -cert)\n");
380 X509 *cert;
388 cert=SSL_get_peer_certificate(c_ssl);
389 if (cert != NULL)
391 EVP_PKEY *pkey = X509_get_pubkey(cert);
414 X509_free(cert);
688 else if (strcmp(*argv,"-cert") == 0)
2280 fprintf(stderr, "In app_verify_callback, allowing cert. ");
2282 fprintf(stderr, "Finished printing do we have a context? 0x%p a cert? 0x%p\n",
2283 (void *)ctx, (void *)ctx->cert);
2284 if (ctx->cert)
2285 s=X509_NAME_oneline(X509_get_subject_name(ctx->cert),buf,256);
2288 fprintf(stderr,"cert depth=%d %s\n",ctx->error_depth,buf);