| Summary: | ssh-keygen broken on HPUX | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Olaf Flebbe <o.flebbe> | ||||
| Component: | ssh-keygen | Assignee: | Assigned to nobody <unassigned-bugs> | ||||
| Status: | CLOSED FIXED | ||||||
| Severity: | normal | ||||||
| Priority: | P2 | ||||||
| Version: | 4.2p1 | ||||||
| Hardware: | HPPA | ||||||
| OS: | HP-UX | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 1047 | ||||||
| Attachments: |
|
||||||
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. |
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.