e051391d3c
default. Garbage collect the patches that dealt with these issues, and use the builtin define __PIC__ to detect if we're PIE/PIC. ok naddy@
13 lines
370 B
Plaintext
13 lines
370 B
Plaintext
$OpenBSD: patch-src_sha1-sse2_h,v 1.2 2012/08/20 11:50:59 pascal Exp $
|
|
--- src/sha1-sse2.h.orig Mon Jul 23 18:26:45 2012
|
|
+++ src/sha1-sse2.h Mon Jul 23 18:28:41 2012
|
|
@@ -15,7 +15,7 @@
|
|
#include "crypto.h"
|
|
|
|
|
|
-#if defined(__i386__) || defined(__x86_64__)
|
|
+#if (defined(__i386__) || defined(__x86_64__)) && !defined(__PIC__)
|
|
|
|
void show_result(char* key, uchar* pmk)
|
|
{
|