summaryrefslogtreecommitdiff
path: root/rc4.h
diff options
context:
space:
mode:
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 904affec3..1be64acac 100644
--- a/rc4.h
+++ b/rc4.h
@@ -44,6 +44,9 @@
44#ifndef _RC4_H 44#ifndef _RC4_H
45#define _RC4_H 45#define _RC4_H
46 46
47#include "config.h"
48#ifndef HAVE_ARC4RANDOM
49
47/*! \struct rc4_t 50/*! \struct rc4_t
48 \brief RC4 stream cipher state object 51 \brief RC4 stream cipher state object
49 \var s State array 52 \var s State array
@@ -107,4 +110,6 @@ void rc4_crypt(rc4_t *r, unsigned char *plaintext, int len);
107*/ 110*/
108void rc4_getbytes(rc4_t *r, unsigned char *buffer, int len); 111void rc4_getbytes(rc4_t *r, unsigned char *buffer, int len);
109 112
113#endif /* !HAVE_ARC4RANDOM */
114
110#endif /* _RC4_H */ 115#endif /* _RC4_H */