Home | History | Annotate | Download | only in ssl

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");
378 X509 *cert;
386 cert=SSL_get_peer_certificate(c_ssl);
387 if (cert != NULL)
389 EVP_PKEY *pkey = X509_get_pubkey(cert);
412 X509_free(cert);
683 else if (strcmp(*argv,"-cert") == 0)
2257 fprintf(stderr, "In app_verify_callback, allowing cert. ");
2259 fprintf(stderr, "Finished printing do we have a context? 0x%p a cert? 0x%p\n",
2260 (void *)ctx, (void *)ctx->cert);
2261 if (ctx->cert)
2262 s=X509_NAME_oneline(X509_get_subject_name(ctx->cert),buf,256);
2265 fprintf(stderr,"cert depth=%d %s\n",ctx->error_depth,buf);