summaryrefslogtreecommitdiffstats
path: root/lib/libdes
diff options
context:
space:
mode:
authormartynas <martynas@openbsd.org>2009-08-03 21:38:46 +0000
committermartynas <martynas@openbsd.org>2009-08-03 21:38:46 +0000
commit9049b9725ea20443d9f5dd8a08d884c6f6b8f6c9 (patch)
treefb4fbb96fc388b0ce4dc5187f9d96f19b5d59fc0 /lib/libdes
parenttweak error message. url is valid per rfc1738 and can now be (diff)
downloadwireguard-openbsd-9049b9725ea20443d9f5dd8a08d884c6f6b8f6c9.tar.xz
wireguard-openbsd-9049b9725ea20443d9f5dd8a08d884c6f6b8f6c9.zip
use random; ok millert@
Diffstat (limited to 'lib/libdes')
-rw-r--r--lib/libdes/des_locl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libdes/des_locl.h b/lib/libdes/des_locl.h
index 8322d753c87..f8258444ce7 100644
--- a/lib/libdes/des_locl.h
+++ b/lib/libdes/des_locl.h
@@ -169,7 +169,7 @@ YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
#define RAND
#endif
-#ifdef linux
+#if defined(linux) || defined(__OpenBSD__)
#undef RAND
#endif