Hi, ssh-keygen is broken on HP-UX. For instance >ssh-keygen -t dsa -b1024 Bits has bad value 1024 (too small) Reason: usage of openbsd replacement of _both_ strtonum and strtoll: The protoype of strtoll is missing from openbsd-compat.h so strtonum is miscompiled. This should affact all platforms without both "strtonum" and "strtoll". Patch appended.
Created attachment 973 [details] Patch to openbsd-compat.h
I haven't seen this on my HP-UX box (using gcc, maybe the behaviour is compiler dependant?) however the prototype is missing and your patch is obviously correct. Applied to both -HEAD and the 4.2 branch. Thanks.
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.