Home
last modified time | relevance | path

Searched refs:fInCert (Results 1 – 3 of 3) sorted by relevance

/external/curl/tests/libtest/
Dlib678.c35 FILE *fInCert = fopen(filename, "rb"); in loadfile() local
37 if(fInCert) { in loadfile()
39 bool continue_reading = fseek(fInCert, 0, SEEK_END) == 0; in loadfile()
41 cert_tell = ftell(fInCert); in loadfile()
47 continue_reading = fseek(fInCert, 0, SEEK_SET) == 0; in loadfile()
51 ((int)fread(data, datasize, 1, fInCert) != 1)) in loadfile()
53 fclose(fInCert); in loadfile()
/external/curl/src/
Dtool_operate.c1625 FILE *fInCert = fopen(config->cert + 8, "rb"); in single_transfer() local
1628 bool continue_reading = fInCert != NULL; in single_transfer()
1630 continue_reading = fseek(fInCert, 0, SEEK_END) == 0; in single_transfer()
1632 filesize = ftell(fInCert); in single_transfer()
1636 continue_reading = fseek(fInCert, 0, SEEK_SET) == 0; in single_transfer()
1640 ((int)fread(certdata, (size_t)filesize, 1, fInCert) != 1)) in single_transfer()
1642 if(fInCert) in single_transfer()
1643 fclose(fInCert); in single_transfer()
1668 FILE *fInCert = fopen(config->key + 8, "rb"); in single_transfer() local
1671 bool continue_reading = fInCert != NULL; in single_transfer()
[all …]
/external/curl/lib/vtls/
Dschannel.c589 FILE *fInCert = NULL; in schannel_acquire_credential_handle() local
608 fInCert = fopen(data->set.ssl.primary.clientcert, "rb"); in schannel_acquire_credential_handle()
610 if(result && !fInCert) { in schannel_acquire_credential_handle()
619 if((fInCert || blob) && (data->set.ssl.cert_type) && in schannel_acquire_credential_handle()
628 if(fInCert || blob) { in schannel_acquire_credential_handle()
640 if(fInCert) { in schannel_acquire_credential_handle()
642 bool continue_reading = fseek(fInCert, 0, SEEK_END) == 0; in schannel_acquire_credential_handle()
644 cert_tell = ftell(fInCert); in schannel_acquire_credential_handle()
650 continue_reading = fseek(fInCert, 0, SEEK_SET) == 0; in schannel_acquire_credential_handle()
654 ((int) fread(certdata, certsize, 1, fInCert) != 1)) in schannel_acquire_credential_handle()
[all …]