summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'crypto')
-rw-r--r--crypto/openssl/rsaref/rsaref_stubs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/openssl/rsaref/rsaref_stubs.c b/crypto/openssl/rsaref/rsaref_stubs.c
index 3ba5bab..67aa1c2 100644
--- a/crypto/openssl/rsaref/rsaref_stubs.c
+++ b/crypto/openssl/rsaref/rsaref_stubs.c
@@ -37,7 +37,7 @@
*
*/
-#ifndef NO_RSA
+#if !defined(NO_RSA) && defined(PIC)
#include <dlfcn.h>
#include <stdio.h>
@@ -158,4 +158,4 @@ R_RandomUpdate_stub(void *randomStruct,
return 0;
}
-#endif /* NO_RSA */
+#endif /* !NO_RSA && PIC */
OpenPOWER on IntegriCloud