Lines Matching refs:fInCert
1816 FILE *fInCert = fopen(config->cert + 8, "rb"); in single_transfer() local
1819 bool continue_reading = fInCert != NULL; in single_transfer()
1821 continue_reading = fseek(fInCert, 0, SEEK_END) == 0; in single_transfer()
1823 filesize = ftell(fInCert); in single_transfer()
1827 continue_reading = fseek(fInCert, 0, SEEK_SET) == 0; in single_transfer()
1831 ((int)fread(certdata, (size_t)filesize, 1, fInCert) != 1)) in single_transfer()
1833 if(fInCert) in single_transfer()
1834 fclose(fInCert); in single_transfer()
1859 FILE *fInCert = fopen(config->key + 8, "rb"); in single_transfer() local
1862 bool continue_reading = fInCert != NULL; in single_transfer()
1864 continue_reading = fseek(fInCert, 0, SEEK_END) == 0; in single_transfer()
1866 filesize = ftell(fInCert); in single_transfer()
1870 continue_reading = fseek(fInCert, 0, SEEK_SET) == 0; in single_transfer()
1874 ((int)fread(certdata, (size_t)filesize, 1, fInCert) != 1)) in single_transfer()
1876 if(fInCert) in single_transfer()
1877 fclose(fInCert); in single_transfer()