Lines Matching refs:fInCert
1651 FILE *fInCert = fopen(config->cert + 8, "rb");
1654 bool continue_reading = fInCert != NULL;
1656 continue_reading = fseek(fInCert, 0, SEEK_END) == 0;
1658 filesize = ftell(fInCert);
1662 continue_reading = fseek(fInCert, 0, SEEK_SET) == 0;
1666 ((int)fread(certdata, (size_t)filesize, 1, fInCert) != 1))
1668 if(fInCert)
1669 fclose(fInCert);
1694 FILE *fInCert = fopen(config->key + 8, "rb");
1697 bool continue_reading = fInCert != NULL;
1699 continue_reading = fseek(fInCert, 0, SEEK_END) == 0;
1701 filesize = ftell(fInCert);
1705 continue_reading = fseek(fInCert, 0, SEEK_SET) == 0;
1709 ((int)fread(certdata, (size_t)filesize, 1, fInCert) != 1))
1711 if(fInCert)
1712 fclose(fInCert);