Don't define platform-dependent preprocessor symbols for OPENSSL_THREAD_DEFINES.

"make update".
This commit is contained in:
Bodo Möller 2000-02-24 18:19:50 +00:00
parent a4cfd178f9
commit a7b991bd68
5 changed files with 15 additions and 10 deletions

View file

@ -554,14 +554,14 @@ else
{ {
$thread_cflags="-DTHREADS $thread_cflag $cflags"; $thread_cflags="-DTHREADS $thread_cflag $cflags";
$thread_defines .= "#define THREADS\n"; $thread_defines .= "#define THREADS\n";
my $def; # my $def;
foreach $def (split ' ',$thread_cflag) # foreach $def (split ' ',$thread_cflag)
{ # {
if ($def =~ s/^-D// && $def !~ /^_/) # if ($def =~ s/^-D// && $def !~ /^_/)
{ # {
$thread_defines .= "#define $def\n"; # $thread_defines .= "#define $def\n";
} # }
} # }
} }
$lflags="$libs$lflags"if ($libs ne ""); $lflags="$libs$lflags"if ($libs ne "");

View file

@ -83,6 +83,7 @@ md_rand.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
md_rand.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h md_rand.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
md_rand.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h md_rand.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
md_rand.o: ../../include/openssl/sha.h ../../include/openssl/stack.h md_rand.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
rand_egd.o: ../../include/openssl/opensslconf.h ../../include/openssl/rand.h
rand_err.o: ../../include/openssl/err.h ../../include/openssl/rand.h rand_err.o: ../../include/openssl/err.h ../../include/openssl/rand.h
rand_lib.o: ../../include/openssl/rand.h rand_lib.o: ../../include/openssl/rand.h
randfile.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h randfile.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h

View file

@ -24,8 +24,8 @@ too small for the path name, an error occurs.
RAND_load_file() reads a number of bytes from file B<filename> and RAND_load_file() reads a number of bytes from file B<filename> and
adds them to the PRNG. If B<max_bytes> is non-negative, adds them to the PRNG. If B<max_bytes> is non-negative,
up to to B<max_bytes> are read; if B<max_bytes> is -1, the complete file up to to B<max_bytes> are read; starting with OpenSSL 0.9.5,
is read. if B<max_bytes> is -1, the complete file is read.
RAND_write_file() writes a number of random bytes (currently 1024) to RAND_write_file() writes a number of random bytes (currently 1024) to
file B<filename> which can be used to initialize the PRNG by calling file B<filename> which can be used to initialize the PRNG by calling

View file

@ -2224,3 +2224,5 @@ des_crypt 2249
PEM_write_bio_X509_REQ_NEW 2250 PEM_write_bio_X509_REQ_NEW 2250
PEM_write_X509_REQ_NEW 2251 PEM_write_X509_REQ_NEW 2251
BIO_callback_ctrl 2252 BIO_callback_ctrl 2252
RAND_egd 2253
RAND_status 2254

View file

@ -222,3 +222,5 @@ SSL_set_trust 239
SSL_get_finished 240 SSL_get_finished 240
SSL_get_peer_finished 241 SSL_get_peer_finished 241
SSL_get1_session 242 SSL_get1_session 242
SSL_CTX_callback_ctrl 243
SSL_callback_ctrl 244