diff options
Diffstat (limited to 'rc4.h')
-rw-r--r-- | rc4.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 | */ |
108 | void rc4_getbytes(rc4_t *r, unsigned char *buffer, int len); | 111 | void 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 */ |