G/Morning,
Found 1.0.2\crypto\rand\rand_nw.c needs a tweak for CW4 to compile:
--- rand_nw.c.orig 2015-01-23 01:58:32.000000000 +1100
+++ rand_nw.c 2015-01-28 14:33:04.187500000 +1100
@@ -155,8 +155,11 @@
for (i = 2; i < ENTROPY_NEEDED; i++) {
# ifdef __MWERKS__
- asm {
- rdtsc mov tsc, eax}
+ asm
+ {
+ rdtsc
+ mov tsc, eax
+ }
# elif defined(__GNUC__) && __GNUC__>=2 && !defined(OPENSSL_NO_ASM) &&
!defined(OPENSSL_NO_INLINE_ASM)
asm volatile ("rdtsc":"=a" (tsc)::"edx");
# endif
The acceptable format is the same as 1.0.1l, so no idea where the 1.0.2
version came from, unless done by hand. Otherwise 1.0.2 builds without
issue.
Norm
_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev