Searched refs:envlen (Results 1 – 2 of 2) sorted by relevance
/openssl/crypto/ |
H A D | getenv.c | 26 DWORD envlen = 0; in ossl_safe_getenv() local 54 envlen = GetEnvironmentVariableW(namew, NULL, 0); in ossl_safe_getenv() 57 if (envlen > 0) in ossl_safe_getenv() 58 valw = _malloca(envlen * sizeof(WCHAR)); in ossl_safe_getenv() 62 if (GetEnvironmentVariableW(namew, valw, envlen) < envlen) { in ossl_safe_getenv()
|
/openssl/crypto/rand/ |
H A D | randfile.c | 274 DWORD envlen; in RAND_file_name() local 278 if ((envlen = GetEnvironmentVariableW(var = L"RANDFILE", NULL, 0)) == 0) { in RAND_file_name() 280 if ((envlen = GetEnvironmentVariableW(var = L"HOME", NULL, 0)) == 0 in RAND_file_name() 281 && (envlen = GetEnvironmentVariableW(var = L"USERPROFILE", in RAND_file_name() 283 envlen = GetEnvironmentVariableW(var = L"SYSTEMROOT", NULL, 0); in RAND_file_name() 287 if (envlen != 0) { in RAND_file_name() 289 WCHAR *val = _alloca(envlen * sizeof(WCHAR)); in RAND_file_name() 291 if (GetEnvironmentVariableW(var, val, envlen) < envlen in RAND_file_name()
|
Completed in 5 milliseconds