summaryrefslogtreecommitdiff
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 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 */