Searched refs:file_type (Results 1 – 2 of 2) sorted by relevance
/curl/lib/vtls/ |
H A D | wolfssl.c | 1011 int file_type = wolfssl_do_file_type(ssl_config->cert_type); in wolfssl_connect_step1() local 1014 switch(file_type) { in wolfssl_connect_step1() 1025 (long)cert_blob->len, file_type) : in wolfssl_connect_step1() 1026 wolfSSL_CTX_use_certificate_file(backend->ctx, cert_file, file_type); in wolfssl_connect_step1() 1042 file_type = wolfssl_do_file_type(ssl_config->key_type); in wolfssl_connect_step1() 1046 (long)key_blob->len, file_type) : in wolfssl_connect_step1() 1047 wolfSSL_CTX_use_PrivateKey_file(backend->ctx, key_file, file_type); in wolfssl_connect_step1() 1057 int file_type = wolfssl_do_file_type(ssl_config->cert_type); in wolfssl_connect_step1() local 1060 switch(file_type) { in wolfssl_connect_step1() 1082 file_type = wolfssl_do_file_type(ssl_config->key_type); in wolfssl_connect_step1() [all …]
|
H A D | openssl.c | 1307 int file_type = ossl_do_file_type(cert_type); in cert_stuff() local 1309 if(cert_file || cert_blob || (file_type == SSL_FILETYPE_ENGINE)) { in cert_stuff() 1323 switch(file_type) { in cert_stuff() 1348 file_type, key_passwd) : in cert_stuff() 1349 SSL_CTX_use_certificate_file(ctx, cert_file, file_type); in cert_stuff() 1548 file_type = ossl_do_file_type(key_type); in cert_stuff() 1550 switch(file_type) { in cert_stuff() 1557 SSL_CTX_use_PrivateKey_blob(ctx, key_blob, file_type, key_passwd) : in cert_stuff() 1558 SSL_CTX_use_PrivateKey_file(ctx, key_file, file_type); in cert_stuff()
|
Completed in 22 milliseconds