| Summary: | ssh-keygen has fatal error while updating comment in RSA1 key | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | rusr |
| Component: | ssh-keygen | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> |
| Status: | CLOSED FIXED | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | -current | ||
| Hardware: | HPPA | ||
| OS: | HP-UX | ||
|
Description
rusr
2002-05-02 06:05:35 AEST
the error is not seen in current i believe due to the fix to arc4random() to call seed_rng() correctly. is there a way we can reduce the diff in terms of moving function calls around due to delaying RNG seeding? http://www.eviladmin.org/cgi-bin/cvsweb.cgi/ssh-keygen.c.diff?r1=1.87&r2=1.88 http://www.eviladmin.org/cgi-bin/cvsweb.cgi/ssh-keygen.c.diff?r1=1.91&r2=1.92 We can just put the call to seed_rng() above all the actions. That is safe and "future-proof" at the cost of some extraneous processing for some options which don't need it. Alternately we can just move the chance comment call to below the seed_rng call fixed: - (stevesk) [ssh-keygen.c] bug #231: always init/seed_rng(). Mass change of RESOLVED bugs to CLOSED |