search for: prng_check_seedfil

Displaying 3 results from an estimated 3 matches for "prng_check_seedfil".

Did you mean: prng_check_seedfile
2001 Jan 16
1
ssh drops privs when it can't find ~/.ssh/prng_seed
...ir, SSH_USER_DIR); mkdir(filename, 0700); snprintf(filename, sizeof(filename), "%.512s/%s", pw->pw_dir, SSH_PRNG_SEED_FILE); debug("writing PRNG seed to file %.100s", filename); RAND_bytes(seed, sizeof(seed)); /* Don't care if the seed doesn't exist */ prng_check_seedfile(filename); if ((fd = open(filename, O_WRONLY|O_TRUNC|O_CREAT, 0600)) == -1) { debug("WARNING: couldn't access PRNG seedfile %.100s (%.100s)", filename, strerror(errno)); } else { if (atomicio(write, fd, &seed, sizeof(seed)) != sizeof(seed)) fatal("problem w...
2001 Sep 28
1
openssh-2.9.9p2 assumes pid_t, uid_t, etc. are not 'long'
...is wider than int. E.g., I've heard that 64-bit AIX has 64-bit pid_t in some compilation environments. Here is a patch. 2001-09-28 Paul Eggert <eggert at twinsun.com> * authfile.c (key_perm_ok): Work even if system integer types are 'long', not 'int'. * entropy.c (prng_check_seedfile, prng_write_seedfile, prng_read_seedfile): Likewise. * serverloop.c (server_loop, server_loop2): Likewise. * session.c (session_dump, session_by_pid, session_exit_message, session_close_by_pid, session_have_children, session_close_by_channel): Likewise. * ssh-agent...
2001 Feb 01
0
warnings on aix325
...ation of function `gettimeofday' entropy.c: In function `stir_rusage': entropy.c:331: warning: implicit declaration of function `getrusage' entropy.c: In function `hash_output_from_command': entropy.c:426: warning: implicit declaration of function `bzero' entropy.c: In function `prng_check_seedfile': entropy.c:532: warning: int format, long int arg (arg 3) entropy.c: In function `prng_write_seedfile': entropy.c:557: warning: int format, long int arg (arg 2) entropy.c: In function `prng_read_seedfile': entropy.c:596: warning: int format, long int arg (arg 2) uidswap.c: In function...