/freebsd/contrib/libpcap/ |
H A D | sslutils.c | 85 if (1 != SSL_CTX_use_certificate_file(ctx, certfile, SSL_FILETYPE_PEM)) in ssl_init_once() 92 if (1 != SSL_CTX_use_PrivateKey_file(ctx, keyfile, SSL_FILETYPE_PEM)) in ssl_init_once()
|
/freebsd/crypto/openssl/ssl/ |
H A D | ssl_rsa_legacy.c | 62 } else if (type == SSL_FILETYPE_PEM) { in SSL_use_RSAPrivateKey_file() 144 } else if (type == SSL_FILETYPE_PEM) { in SSL_CTX_use_RSAPrivateKey_file()
|
H A D | ssl_rsa.c | 63 if (type != SSL_FILETYPE_ASN1 && type != SSL_FILETYPE_PEM) { in SSL_use_certificate_file() 75 } else if (type == SSL_FILETYPE_PEM) { in SSL_use_certificate_file() 166 if (type == SSL_FILETYPE_PEM) { in SSL_use_PrivateKey_file() 294 if (type != SSL_FILETYPE_ASN1 && type != SSL_FILETYPE_PEM) { in SSL_CTX_use_certificate_file() 306 } else if (type == SSL_FILETYPE_PEM) { in SSL_CTX_use_certificate_file() 370 if (type == SSL_FILETYPE_PEM) { in SSL_CTX_use_PrivateKey_file()
|
H A D | ssl_conf.c | 458 rv = SSL_CTX_use_PrivateKey_file(cctx->ctx, value, SSL_FILETYPE_PEM); in cmd_PrivateKey() 460 rv = SSL_use_PrivateKey_file(cctx->ssl, value, SSL_FILETYPE_PEM); in cmd_PrivateKey()
|
/freebsd/usr.sbin/rpc.tlsclntd/ |
H A D | rpc.tlsclntd.c | 432 SSL_FILETYPE_PEM); in rpctls_setupcl_ssl() 444 SSL_FILETYPE_PEM); in rpctls_setupcl_ssl() 569 ret = SSL_use_certificate_file(ssl, path, SSL_FILETYPE_PEM); in rpctls_connect() 580 ret = SSL_use_PrivateKey_file(ssl, path, SSL_FILETYPE_PEM); in rpctls_connect()
|
/freebsd/crypto/openssl/demos/bio/ |
H A D | saccept.c | 65 if (!SSL_CTX_use_PrivateKey_file(ctx, CERT_FILE, SSL_FILETYPE_PEM)) in main()
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | tls_wolfssl.c | 484 SSL_FILETYPE_PEM) != SSL_SUCCESS) { in tls_connection_client_cert() 557 SSL_FILETYPE_PEM) != SSL_SUCCESS) { in tls_connection_private_key() 572 SSL_FILETYPE_PEM) != in tls_connection_private_key() 1229 SSL_FILETYPE_PEM) != SSL_SUCCESS) { in tls_connection_ca_cert() 1449 SSL_FILETYPE_PEM) != 1) { in tls_global_private_key() 1468 if (wolfSSL_CTX_SetTmpDH_file(ctx, dh_file, SSL_FILETYPE_PEM) < in tls_global_dh() 1601 wolfSSL_CTX_LoadCRLBuffer(tls_ctx, NULL, 0, SSL_FILETYPE_PEM); in tls_global_set_verify()
|
H A D | tls_openssl.c | 3533 SSL_FILETYPE_PEM) == 1) { in tls_connection_client_cert() 3564 SSL_FILETYPE_PEM) != 1) { in tls_global_client_cert()
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | SSL_CTX_use_certificate.pod | 79 from the known types SSL_FILETYPE_PEM, SSL_FILETYPE_ASN1. 125 from the known types SSL_FILETYPE_PEM, SSL_FILETYPE_ASN1. 149 Files of type SSL_FILETYPE_PEM can contain more than one item.
|
H A D | BIO_f_ssl.pod | 214 if (!SSL_CTX_use_certificate_file(ctx, "server.pem", SSL_FILETYPE_PEM) 215 || !SSL_CTX_use_PrivateKey_file(ctx, "server.pem", SSL_FILETYPE_PEM)
|
/freebsd/contrib/dma/ |
H A D | crypto.c | 62 error = SSL_CTX_use_PrivateKey_file(ctx, path, SSL_FILETYPE_PEM); in init_cert_file()
|
/freebsd/usr.sbin/rpc.tlsservd/ |
H A D | rpc.tlsservd.c | 642 ret = SSL_CTX_use_certificate_file(ctx, path, SSL_FILETYPE_PEM); in rpctls_setup_ssl() 653 ret = SSL_CTX_use_PrivateKey_file(ctx, path, SSL_FILETYPE_PEM); in rpctls_setup_ssl()
|
/freebsd/contrib/sendmail/src/ |
H A D | tls.c | 754 SSL_use_certificate_file(ssl, certfile, SSL_FILETYPE_PEM) 771 SSL_use_PrivateKey_file(ssl, keyfile, SSL_FILETYPE_PEM) <= 0) 1267 SSL_FILETYPE_PEM) <= 0) 1286 SSL_CTX_use_certificate_file(ssl_ctx, certfile, SSL_FILETYPE_PEM) 1325 SSL_CTX_use_PrivateKey_file(*ctx, kf2, SSL_FILETYPE_PEM) <= 0)
|
/freebsd/contrib/openbsm/bin/auditdistd/ |
H A D | proto_tls.c | 683 if (SSL_use_RSAPrivateKey_file(ssl, privkey, SSL_FILETYPE_PEM) != 1) { in tls_exec_server() 689 if (SSL_use_certificate_file(ssl, cert, SSL_FILETYPE_PEM) != 1) { in tls_exec_server()
|
/freebsd/crypto/openssl/test/helpers/ |
H A D | ssltestlib.c | 877 SSL_FILETYPE_PEM), 1) in create_ssl_ctx_pair() 880 SSL_FILETYPE_PEM), 1) in create_ssl_ctx_pair()
|
/freebsd/crypto/openssl/apps/lib/ |
H A D | s_cb.c | 118 SSL_FILETYPE_PEM) <= 0) { in set_cert_stuff() 126 if (SSL_CTX_use_PrivateKey_file(ctx, key_file, SSL_FILETYPE_PEM) <= 0) { in set_cert_stuff()
|
/freebsd/contrib/unbound/util/ |
H A D | net_help.c | 1270 if(!SSL_CTX_use_PrivateKey_file(ctx, key, SSL_FILETYPE_PEM)) { in listen_sslctx_create() 1441 if(!SSL_CTX_use_PrivateKey_file(ctx, key, SSL_FILETYPE_PEM)) { in connect_sslctx_create()
|
/freebsd/crypto/openssl/test/ |
H A D | sslapitest.c | 584 SSL_FILETYPE_PEM), 1) in test_client_cert_verify_cb() 657 || !TEST_int_eq(SSL_use_PrivateKey_file(ssl, skey, SSL_FILETYPE_PEM), 1) in test_ssl_build_cert_chain() 696 SSL_FILETYPE_PEM), 1) in test_ssl_ctx_build_cert_chain() 5938 SSL_FILETYPE_PEM), 1) in test_custom_exts() 5940 SSL_FILETYPE_PEM), 1) in test_custom_exts() 8407 if (!TEST_true(SSL_use_certificate_file(s, cert, SSL_FILETYPE_PEM)) in cert_cb() 8409 SSL_FILETYPE_PEM)) in cert_cb() 9396 SSL_FILETYPE_PEM), 1) in test_sigalgs_available() 9399 SSL_FILETYPE_PEM), 1) in test_sigalgs_available()
|
/freebsd/contrib/unbound/smallapp/ |
H A D | unbound-control.c | 561 if(!SSL_CTX_use_PrivateKey_file(ctx,c_key,SSL_FILETYPE_PEM)) in setup_ctx()
|
/freebsd/lib/libfetch/ |
H A D | common.c | 1133 SSL_FILETYPE_PEM) != 1) { in fetch_ssl_setup_client_certificate()
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | ssl.h | 221 # define SSL_FILETYPE_PEM X509_FILETYPE_PEM macro
|
H A D | ssl.h.in | 222 # define SSL_FILETYPE_PEM X509_FILETYPE_PEM macro
|
/freebsd/contrib/unbound/daemon/ |
H A D | remote.c | 144 if(!SSL_CTX_use_PrivateKey_file(rc->ctx,s_key,SSL_FILETYPE_PEM)) { in remote_setup_ctx()
|
/freebsd/contrib/unbound/services/ |
H A D | listen_dnsport.c | 4636 SSL_FILETYPE_PEM)) { in doq_ctx_server_setup()
|