Typo in crypto/threads_none.c source file

2019-09-12 Thread Fabrice Manfroi
Hello,

During a Windows build of the 1.1.1d version I found a typo in the
crypto/threads_none.c source file.

In attachment a small patch which fix the problem.

Best Regards.
diff --git a/lib-na-openssl/src/crypto/threads_none.c b/lib-na-openssl/src/crypto/threads_none.c
index aabf0e0dc..ae872 100644
--- a/lib-na-openssl/src/crypto/threads_none.c
+++ b/lib-na-openssl/src/crypto/threads_none.c
@@ -143,7 +143,7 @@ int openssl_get_fork_id(void)
 # if defined(OPENSSL_SYS_UNIX)
 return getpid();
 # else
-return return 0;
+return 0;
 # endif
 }
 #endif


signature.asc
Description: OpenPGP digital signature


Openssl 1.0.2t build failed using Visual Studio

2019-09-12 Thread Fabrice Manfroi
Hello,

Trying to build the last 1.0.2t on Windows with Visual Studio 2010, I
get the following build error:

===

LIBEAY32.def : error LNK2001: unresolved external symbol OPENSSL_rdtsc

===

If I remove the OPENSSL_rdtsc entry from the util/libeay.num file it
works without any probleme.

Is it a error? Or do I miss something?

Best Regards.





signature.asc
Description: OpenPGP digital signature