summaryrefslogtreecommitdiffstats
path: root/rc4.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-10-28 14:12:54 +1000
committerDamien Miller <djm@mindrot.org>1999-10-28 14:12:54 +1000
commite413cba972feb60d3d4d104c0c93320435610d1b (patch)
treed712398819471c56f89ea3fc7a4fa5fb8db38690 /rc4.h
parent062307657e30c9b970514eb53b4b743f9d571231 (diff)
Disabled code based on autoconf tests
Diffstat (limited to 'rc4.h')
-rw-r--r--rc4.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/rc4.h b/rc4.h
index 904affec..1be64aca 100644
--- a/rc4.h
+++ b/rc4.h
@@ -44,6 +44,9 @@
#ifndef _RC4_H
#define _RC4_H
+#include "config.h"
+#ifndef HAVE_ARC4RANDOM
+
/*! \struct rc4_t
\brief RC4 stream cipher state object
\var s State array
@@ -107,4 +110,6 @@ void rc4_crypt(rc4_t *r, unsigned char *plaintext, int len);
*/
void rc4_getbytes(rc4_t *r, unsigned char *buffer, int len);
+#endif /* !HAVE_ARC4RANDOM */
+
#endif /* _RC4_H */