Commit a7b991bd authored by Bodo Möller's avatar Bodo Möller
Browse files

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

"make update".
parent a4cfd178
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -554,14 +554,14 @@ else
	{
	$thread_cflags="-DTHREADS $thread_cflag $cflags";
	$thread_defines .= "#define THREADS\n";
	my $def;
	foreach $def (split ' ',$thread_cflag)
		{
		if ($def =~ s/^-D// && $def !~ /^_/)
			{
			$thread_defines .= "#define $def\n";
			}
		}
#	my $def;
#	foreach $def (split ' ',$thread_cflag)
#		{
#		if ($def =~ s/^-D// && $def !~ /^_/)
#			{
#			$thread_defines .= "#define $def\n";
#			}
#		}
	}	

$lflags="$libs$lflags"if ($libs ne "");
+1 −0
Original line number Diff line number Diff line
@@ -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/rand.h ../../include/openssl/safestack.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_lib.o: ../../include/openssl/rand.h
randfile.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
+2 −2
Original line number Diff line number Diff line
@@ -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
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
is read.
up to to B<max_bytes> are read; starting with OpenSSL 0.9.5,
if B<max_bytes> is -1, the complete file is read.

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
+2 −0
Original line number Diff line number Diff line
@@ -2224,3 +2224,5 @@ des_crypt 2249
PEM_write_bio_X509_REQ_NEW              2250
PEM_write_X509_REQ_NEW                  2251
BIO_callback_ctrl                       2252
RAND_egd                                2253
RAND_status                             2254
+2 −0
Original line number Diff line number Diff line
@@ -222,3 +222,5 @@ SSL_set_trust 239
SSL_get_finished                        240
SSL_get_peer_finished                   241
SSL_get1_session                        242
SSL_CTX_callback_ctrl                   243
SSL_callback_ctrl                       244