Displaying 2 results from an estimated 2 matches for "bestcount".
Did you mean:
testcount
2007 Aug 12
1
Calysto v1.5 reports on ssh v4.6p1
New version of Calysto reports a warning that looks like a bug to me:
------------------------------------------
Possible NULL-ptr deref (vc27053):
@/work/projects/llvm/tools/Calysto/IfaceSpecs/clib.c:1823
Bug: ??
Explanation:
choose_dh (dh.c:111) calls fopen twice (@120). If the first call to
fopen fails (returns NULL), but the second one succeeds, fgets (@129) is
called with f==NULL.
2015 Jul 01
4
[PATCH 1/1] update error messages about moduli and primes files
...s not exist, using fixed modulus",
- _PATH_DH_MODULI);
+ logit("WARNING: neither %s nor %s exists, using fixed modulus",
+ _PATH_DH_MODULI, _PATH_DH_PRIMES);
return (dh_new_group_fallback(max));
}
@@ -182,7 +182,8 @@ choose_dh(int min, int wantbits, int max)
if (bestcount == 0) {
fclose(f);
- logit("WARNING: no suitable primes in %s", _PATH_DH_PRIMES);
+ logit("WARNING: no suitable primes in %s or %s",
+ _PATH_DH_MODULI, _PATH_DH_PRIMES);
return (dh_new_group_fallback(max));
}
--
2.4.5