|
Lines 1239-1244
load_public_identity_files(void)
Link Here
|
| 1239 |
#endif /* SMARTCARD */ |
1239 |
#endif /* SMARTCARD */ |
| 1240 |
if ((pw = getpwuid(original_real_uid)) == NULL) |
1240 |
if ((pw = getpwuid(original_real_uid)) == NULL) |
| 1241 |
fatal("load_public_identity_files: getpwuid failed"); |
1241 |
fatal("load_public_identity_files: getpwuid failed"); |
|
|
1242 |
pw = pwcopy(pw); |
| 1242 |
if (gethostname(thishost, sizeof(thishost)) == -1) |
1243 |
if (gethostname(thishost, sizeof(thishost)) == -1) |
| 1243 |
fatal("load_public_identity_files: gethostname: %s", |
1244 |
fatal("load_public_identity_files: gethostname: %s", |
| 1244 |
strerror(errno)); |
1245 |
strerror(errno)); |
|
Lines 1256-1261
load_public_identity_files(void)
Link Here
|
| 1256 |
options.identity_files[i] = filename; |
1257 |
options.identity_files[i] = filename; |
| 1257 |
options.identity_keys[i] = public; |
1258 |
options.identity_keys[i] = public; |
| 1258 |
} |
1259 |
} |
|
|
1260 |
pwfree(pw); |
| 1259 |
} |
1261 |
} |
| 1260 |
|
1262 |
|
| 1261 |
static void |
1263 |
static void |