Home
last modified time | relevance | path

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

/curl/tests/libtest/
H A 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()
/curl/lib/vtls/
H A Dschannel.c560 FILE *fInCert = NULL; in schannel_acquire_credential_handle() local
579 fInCert = fopen(data->set.ssl.primary.clientcert, "rb"); in schannel_acquire_credential_handle()
581 if(result && !fInCert) { in schannel_acquire_credential_handle()
590 if((fInCert || blob) && (data->set.ssl.cert_type) && in schannel_acquire_credential_handle()
599 if(fInCert || blob) { in schannel_acquire_credential_handle()
611 if(fInCert) { in schannel_acquire_credential_handle()
613 bool continue_reading = fseek(fInCert, 0, SEEK_END) == 0; in schannel_acquire_credential_handle()
615 cert_tell = ftell(fInCert); in schannel_acquire_credential_handle()
621 continue_reading = fseek(fInCert, 0, SEEK_SET) == 0; in schannel_acquire_credential_handle()
625 ((int) fread(certdata, certsize, 1, fInCert) != 1)) in schannel_acquire_credential_handle()
[all …]

Completed in 11 milliseconds