summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1999-09-04 11:06:07 +0000
committermarkm <markm@FreeBSD.org>1999-09-04 11:06:07 +0000
commit101cc573f4c54f4db2d4ef87fb0c2d73df6f7374 (patch)
tree521ab1f9ced1fca833032899ccee23d29ba9aa46 /crypto
parenta00f78e6610c0ff0c2bc8a2247bb3dfb8e34bc6b (diff)
downloadFreeBSD-src-101cc573f4c54f4db2d4ef87fb0c2d73df6f7374.zip
FreeBSD-src-101cc573f4c54f4db2d4ef87fb0c2d73df6f7374.tar.gz
Add macro originally provided externally.
Diffstat (limited to 'crypto')
-rw-r--r--crypto/libdes/rnd_keys.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/libdes/rnd_keys.c b/crypto/libdes/rnd_keys.c
index 2089863..da86b89 100644
--- a/crypto/libdes/rnd_keys.c
+++ b/crypto/libdes/rnd_keys.c
@@ -82,6 +82,13 @@ RCSID("$Id$");
#include <winsock.h>
#endif
+#ifndef RETSIGTYPE
+#define RETSIGTYPE void
+#define SIGRETURN(x) return
+#else
+#define SIGRETURN(x) return (RETSIGTYPE)(x)
+#endif
+
/*
* Generate "random" data by checksumming a file.
*
OpenPOWER on IntegriCloud