|
Line
Link Here
|
| 0 |
-- openssh-8.5p1/ssh-keygen.c.orig |
0 |
++ openssh-8.5p1/ssh-keygen.c |
|
Lines 3154-3159
Link Here
|
| 3154 |
pw = getpwuid(getuid()); |
3154 |
pw = getpwuid(getuid()); |
| 3155 |
if (!pw) |
3155 |
if (!pw) |
| 3156 |
fatal("No user exists for uid %lu", (u_long)getuid()); |
3156 |
fatal("No user exists for uid %lu", (u_long)getuid()); |
|
|
3157 |
pw = pwcopy(pw); |
| 3157 |
if (gethostname(hostname, sizeof(hostname)) == -1) |
3158 |
if (gethostname(hostname, sizeof(hostname)) == -1) |
| 3158 |
fatal("gethostname: %s", strerror(errno)); |
3159 |
fatal("gethostname: %s", strerror(errno)); |
| 3159 |
|
3160 |
|