X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=lib%2Fopenssl%2Fdoc%2Fcrypto%2FRAND_load_file.pod;h=39084b2c5dcc93af968917d22de2e8c847899c6e;hb=02ed66432c92de70694700164f986190aad3cbc5;hp=d8c134e621d16c994eff677305ad610a4fed2043;hpb=89016837dcbf2775cd15dc8cbaba00dc6379f86e;p=cassiopeia.git diff --git a/lib/openssl/doc/crypto/RAND_load_file.pod b/lib/openssl/doc/crypto/RAND_load_file.pod index d8c134e..39084b2 100644 --- a/lib/openssl/doc/crypto/RAND_load_file.pod +++ b/lib/openssl/doc/crypto/RAND_load_file.pod @@ -18,13 +18,35 @@ RAND_load_file, RAND_write_file, RAND_file_name - PRNG seed file RAND_file_name() generates a default path for the random seed file. B points to a buffer of size B in which to store the -filename. The seed file is $RANDFILE if that environment variable is -set, $HOME/.rnd otherwise. If $HOME is not set either, or B is -too small for the path name, an error occurs. +filename. + +On all systems, if the environment variable B is set, its +value will be used as the seed file name. + +Otherwise, the file is called ".rnd", found in platform dependent locations: + +=over 4 + +=item On Windows (in order of preference) + +%HOME%, %USERPROFILE%, %SYSTEMROOT%, C:\ + +=item On VMS + +SYS$LOGIN: + +=item On all other systems + +$HOME + +=back + +If C<$HOME> (on non-Windows and non-VMS system) is not set either, or +B is too small for the path name, an error occurs. RAND_load_file() reads a number of bytes from file B and adds them to the PRNG. If B is non-negative, -up to to B are read; starting with OpenSSL 0.9.5, +up to B are read; if B is -1, the complete file is read. RAND_write_file() writes a number of random bytes (currently 1024) to @@ -43,11 +65,15 @@ error. =head1 SEE ALSO -L, L, L +L, L, L + +=head1 COPYRIGHT -=head1 HISTORY +Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved. -RAND_load_file(), RAND_write_file() and RAND_file_name() are available in -all versions of SSLeay and OpenSSL. +Licensed under the OpenSSL license (the "License"). You may not use +this file except in compliance with the License. You can obtain a copy +in the file LICENSE in the source distribution or at +L. =cut