Searched refs:randfile (Results 1 – 1 of 1) sorted by relevance
149 tls_rand_init(randfile, logl) in tls_rand_init() argument150 char *randfile; in tls_rand_init()171 randdef = (randfile == NULL || *randfile == '\0') ? RF_MISS : RF_OK;173 if (randdef == RF_OK && sm_strncasecmp(randfile, "egd:", 4) == 0)175 randfile += 4;176 if (RAND_egd(randfile) < 0)180 randfile);187 if (randdef == RF_OK && sm_strncasecmp(randfile, "file:", 5) == 0)193 randfile += 5;200 if ((fd = safeopen(randfile, O_RDONLY, 0, sff)) >= 0)[all …]