Home
last modified time | relevance | path

Searched refs:SSL_FILETYPE_PEM (Results 1 – 24 of 24) sorted by relevance

/freebsd/contrib/libpcap/
H A Dsslutils.c85 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 Dssl_rsa_legacy.c62 } 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 Dssl_rsa.c63 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 Dssl_conf.c458 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 Drpc.tlsclntd.c432 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 Dsaccept.c65 if (!SSL_CTX_use_PrivateKey_file(ctx, CERT_FILE, SSL_FILETYPE_PEM)) in main()
/freebsd/contrib/wpa/src/crypto/
H A Dtls_wolfssl.c484 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 Dtls_openssl.c3533 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 DSSL_CTX_use_certificate.pod79 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 DBIO_f_ssl.pod214 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 Dcrypto.c62 error = SSL_CTX_use_PrivateKey_file(ctx, path, SSL_FILETYPE_PEM); in init_cert_file()
/freebsd/usr.sbin/rpc.tlsservd/
H A Drpc.tlsservd.c642 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 Dtls.c754 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 Dproto_tls.c683 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 Dssltestlib.c877 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 Ds_cb.c118 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 Dnet_help.c1270 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 Dsslapitest.c584 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 Dunbound-control.c561 if(!SSL_CTX_use_PrivateKey_file(ctx,c_key,SSL_FILETYPE_PEM)) in setup_ctx()
/freebsd/lib/libfetch/
H A Dcommon.c1133 SSL_FILETYPE_PEM) != 1) { in fetch_ssl_setup_client_certificate()
/freebsd/crypto/openssl/include/openssl/
H A Dssl.h221 # define SSL_FILETYPE_PEM X509_FILETYPE_PEM macro
H A Dssl.h.in222 # define SSL_FILETYPE_PEM X509_FILETYPE_PEM macro
/freebsd/contrib/unbound/daemon/
H A Dremote.c144 if(!SSL_CTX_use_PrivateKey_file(rc->ctx,s_key,SSL_FILETYPE_PEM)) { in remote_setup_ctx()
/freebsd/contrib/unbound/services/
H A Dlisten_dnsport.c4636 SSL_FILETYPE_PEM)) { in doq_ctx_server_setup()