| /src/external/bsd/libpcap/dist/ |
| sslutils.c | 50 void ssl_set_certfile(const char *certfile) 52 ssl_certfile = certfile; 84 char const *certfile = ssl_certfile[0] ? ssl_certfile : "cert.pem"; local 85 if (1 != SSL_CTX_use_certificate_file(ctx, certfile, SSL_FILETYPE_PEM)) 87 snprintf(errbuf, errbuflen, "Cannot read certificate file %s: %s", certfile, ERR_error_string(ERR_get_error(), NULL));
|
| /src/crypto/external/apache2/openssl/dist/apps/ |
| crl2pkcs7.c | 22 static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile); 42 { "nocrl", OPT_NOCRL, '-', "No crl to load, just certs from '-certfile'" }, 43 { "certfile", OPT_CERTFILE, '<', 63 char *infile = NULL, *outfile = NULL, *prog, *certfile; local 157 certfile = sk_OPENSSL_STRING_value(certflst, i); 158 if (add_certs_from_file(cert_stack, certfile) < 0) { 200 static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile) 208 in = BIO_new_file(certfile, "r"); 210 BIO_printf(bio_err, "error opening the file, %s\n", certfile); 217 BIO_printf(bio_err, "error reading the file, %s\n", certfile); [all...] |
| s_time.c | 142 char *host = SSL_CONNECT_NAME, *certfile = NULL, *keyfile = NULL, *prog; local 180 certfile = opt_arg(); 276 if (!set_cert_stuff(ctx, certfile, keyfile))
|
| smime.c | 134 { "certfile", OPT_CERTFILE, '<', 209 char *certfile = NULL, *keyfile = NULL, *contfile = NULL; local 400 certfile = opt_arg(); 530 if (certfile != NULL) { 531 if (!load_certs(certfile, 0, &other, NULL, "certificates")) {
|
| cms.c | 239 { "certfile", OPT_CERTFILE, '<', 359 char *certfile = NULL, *keyfile = NULL, *contfile = NULL; local 544 certfile = opt_arg(); 917 if (certfile != NULL) { 918 if (!load_certs(certfile, 0, &other, NULL, "certificate file")) {
|
| pkcs12.c | 158 { "certfile", OPT_CERTFILE, '<', "Extra certificates for PKCS12 output" }, 204 char *infile = NULL, *outfile = NULL, *keyname = NULL, *certfile = NULL; local 350 certfile = opt_arg(); 446 if (certfile != NULL) 447 WARN_NO_EXPORT("certfile"); 689 if (certfile != NULL) { 690 if (!load_certs(certfile, 0, &certs, passcerts, 691 "extra certificates from -certfile"))
|
| /src/crypto/external/apache2/openssl/dist/test/ |
| x509_test.c | 129 const char *certfile; local 137 if (!TEST_ptr(certfile = test_get_argument(0)) 138 || !TEST_ptr(bio = BIO_new_file(certfile, "r"))
|
| quic_tserver_test.c | 25 static const char *certfile, *keyfile; variable 126 if (!TEST_ptr(tserver = ossl_quic_tserver_new(&tserver_args, certfile, 431 OPT_TEST_DECLARE_USAGE("certfile privkeyfile\n") 440 if (!TEST_ptr(certfile = test_get_argument(0))
|
| /src/crypto/external/bsd/openssl/dist/apps/ |
| crl2pkcs7.c | 22 static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile); 37 {"nocrl", OPT_NOCRL, '-', "No crl to load, just certs from '-certfile'"}, 38 {"certfile", OPT_CERTFILE, '<', 58 char *infile = NULL, *outfile = NULL, *prog, *certfile; local 152 certfile = sk_OPENSSL_STRING_value(certflst, i); 153 if (add_certs_from_file(cert_stack, certfile) < 0) { 195 static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile) 203 in = BIO_new_file(certfile, "r"); 205 BIO_printf(bio_err, "error opening the file, %s\n", certfile); 212 BIO_printf(bio_err, "error reading the file, %s\n", certfile); [all...] |
| s_time.c | 124 char *host = SSL_CONNECT_NAME, *certfile = NULL, *keyfile = NULL, *prog; local 162 certfile = opt_arg(); 259 if (!set_cert_stuff(ctx, certfile, keyfile))
|
| smime.c | 99 {"certfile", OPT_CERTFILE, '<', "Other certificates file"}, 146 char *certfile = NULL, *keyfile = NULL, *contfile = NULL; local 331 certfile = opt_arg(); 469 if (certfile != NULL) { 470 if (!load_certs(certfile, 0, &other, NULL, "certificates")) {
|
| cms.c | 177 {"certfile", OPT_CERTFILE, '<', "Other certificates file"}, 292 char *certfile = NULL, *keyfile = NULL, *contfile = NULL; local 467 certfile = opt_arg(); 850 if (certfile != NULL) { 851 if (!load_certs(certfile, 0, &other, NULL, "certificate file")) {
|
| pkcs12.c | 115 {"certfile", OPT_CERTFILE, '<', "Extra certificates for PKCS12 output"}, 157 char *infile = NULL, *outfile = NULL, *keyname = NULL, *certfile = NULL; local 287 certfile = opt_arg(); 386 if (certfile != NULL) 387 WARN_NO_EXPORT("certfile"); 629 if (certfile != NULL) { 630 if (!load_certs(certfile, 0, &certs, passcerts, 631 "extra certificates from -certfile"))
|
| /src/crypto/external/bsd/openssl.old/dist/apps/ |
| crl2p7.c | 22 static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile); 35 {"nocrl", OPT_NOCRL, '-', "No crl to load, just certs from '-certfile'"}, 36 {"certfile", OPT_CERTFILE, '<', 50 char *infile = NULL, *outfile = NULL, *prog, *certfile; local 138 certfile = sk_OPENSSL_STRING_value(certflst, i); 139 if (add_certs_from_file(cert_stack, certfile) < 0) { 181 static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile) 189 in = BIO_new_file(certfile, "r"); 191 BIO_printf(bio_err, "error opening the file, %s\n", certfile); 198 BIO_printf(bio_err, "error reading the file, %s\n", certfile); [all...] |
| s_time.c | 99 char *host = SSL_CONNECT_NAME, *certfile = NULL, *keyfile = NULL, *prog; local 138 certfile = opt_arg(); 206 if (!set_cert_stuff(ctx, certfile, keyfile))
|
| smime.c | 70 {"certfile", OPT_CERTFILE, '<', "Other certificates file"}, 125 char *certfile = NULL, *keyfile = NULL, *contfile = NULL; local 297 certfile = opt_arg(); 410 if (certfile != NULL) { 411 if (!load_certs(certfile, &other, FORMAT_PEM, NULL,
|
| pkcs12.c | 95 {"certfile", OPT_CERTFILE, '<', "Load certs from file"}, 120 char *infile = NULL, *outfile = NULL, *keyname = NULL, *certfile = NULL; local 234 certfile = opt_arg(); 392 if (certfile != NULL) { 393 if (!load_certs(certfile, &certs, FORMAT_PEM, NULL, 394 "certificates from certfile"))
|
| ca.c | 242 char *certfile = NULL, *crl_ext = NULL, *crlnumberfile = NULL, *key = NULL; local 343 certfile = opt_arg(); 533 if (certfile == NULL 534 && (certfile = lookup_conf(conf, section, ENV_CERTIFICATE)) == NULL) 537 x509 = load_cert(certfile, FORMAT_PEM, "CA certificate");
|
| cms.c | 142 {"certfile", OPT_CERTFILE, '<', "Other certificates file"}, 202 char *certfile = NULL, *keyfile = NULL, *contfile = NULL; local 374 certfile = opt_arg(); 691 if (certfile != NULL) { 692 if (!load_certs(certfile, &other, FORMAT_PEM, NULL,
|
| /src/usr.sbin/syslogd/ |
| tls.h | 138 char *certfile; /* filename of peer cert */ member in struct:tls_conn_settings
|
| syslogd.h | 397 char *certfile; /* file with own certificate */ member in struct:tls_global_options_t
|
| tls.c | 153 const char *certfilename = tls_opt.certfile; 161 FILE *certfile = NULL; local 188 && !(certfile = fopen(certfilename, "r"))) { 215 if (certfile) 216 (void)fclose(certfile); 591 FILE *certfile; local 599 if (!(certfile = fopen(certfilename, "rb"))) { 605 if (!(*cert = PEM_read_X509(certfile, NULL, NULL, NULL)) 606 && !(*cert = d2i_X509_fp(certfile, NULL))) { 609 (void)fclose(certfile); 1993 FILE *certfile, *keyfile; local [all...] |
| /src/external/mpl/bind/dist/lib/dns/ |
| transport.c | 57 char *certfile; member in struct:dns_transport::__anon24108 110 return transport->tls.certfile; 164 dns_transport_set_certfile(dns_transport_t *transport, const char *certfile) { 169 if (transport->tls.certfile != NULL) { 170 isc_mem_free(transport->mctx, transport->tls.certfile); 173 if (certfile != NULL) { 174 transport->tls.certfile = isc_mem_strdup(transport->mctx, 175 certfile); 638 if (transport->tls.certfile != NULL) { 639 isc_mem_free(transport->mctx, transport->tls.certfile); [all...] |
| /src/crypto/external/apache2/openssl/dist/apps/lib/ |
| s_cb.c | 949 const char *certfile; member in struct:ssl_excert_st 1100 if (exc->certfile == NULL && exc->next == NULL) { 1106 if (exc->certfile == NULL) { 1110 exc->cert = load_cert(exc->certfile, exc->certform, 1118 exc->key = load_key(exc->certfile, exc->certform, 1154 if (exc->certfile != NULL && !ssl_excert_prepend(&exc)) { 1159 exc->certfile = opt_arg();
|
| /src/crypto/external/bsd/openssl/dist/apps/lib/ |
| s_cb.c | 881 const char *certfile; member in struct:ssl_excert_st 1033 if (exc->certfile == NULL && exc->next == NULL) { 1039 if (exc->certfile == NULL) { 1043 exc->cert = load_cert(exc->certfile, exc->certform, 1051 exc->key = load_key(exc->certfile, exc->certform, 1087 if (exc->certfile != NULL && !ssl_excert_prepend(&exc)) { 1092 exc->certfile = opt_arg();
|