diff options
author | Damien Miller <djm@mindrot.org> | 1999-10-28 14:12:54 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 1999-10-28 14:12:54 +1000 |
commit | e413cba972feb60d3d4d104c0c93320435610d1b (patch) | |
tree | d712398819471c56f89ea3fc7a4fa5fb8db38690 /rc4.h | |
parent | 062307657e30c9b970514eb53b4b743f9d571231 (diff) |
Disabled code based on autoconf tests
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 */ |