aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/openssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openssl.c b/src/openssl.c
index 4a21c69..624f6d5 100644
--- a/src/openssl.c
+++ b/src/openssl.c
@@ -4063,14 +4063,14 @@ error:;
pid_t pid;
struct rusage ru;
struct utsname un;
- int (*fn)();
+ uintptr_t aslr;
} junk;
gettimeofday(&junk.tv, NULL);
junk.pid = getpid();
getrusage(RUSAGE_SELF, &junk.ru);
uname(&junk.un);
- junk.fn = &stir;
+ junk.aslr = (uintptr_t)&strcpy ^ (uintptr_t)&stir;
RAND_add(&junk, sizeof junk, 0.1);