summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rc4/rc4.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/rc4/rc4.h')
-rw-r--r--src/lib/libcrypto/rc4/rc4.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rc4/rc4.h b/src/lib/libcrypto/rc4/rc4.h
index 7aec04fe93..ae0cea75b8 100644
--- a/src/lib/libcrypto/rc4/rc4.h
+++ b/src/lib/libcrypto/rc4/rc4.h
@@ -59,11 +59,12 @@
59#ifndef HEADER_RC4_H 59#ifndef HEADER_RC4_H
60#define HEADER_RC4_H 60#define HEADER_RC4_H
61 61
62#include <openssl/opensslconf.h> /* OPENSSL_NO_RC4, RC4_INT */
63#ifdef OPENSSL_NO_RC4 62#ifdef OPENSSL_NO_RC4
64#error RC4 is disabled. 63#error RC4 is disabled.
65#endif 64#endif
66 65
66#include <openssl/opensslconf.h> /* RC4_INT */
67
67#ifdef __cplusplus 68#ifdef __cplusplus
68extern "C" { 69extern "C" {
69#endif 70#endif
@@ -76,6 +77,9 @@ typedef struct rc4_key_st
76 77
77 78
78const char *RC4_options(void); 79const char *RC4_options(void);
80#ifdef OPENSSL_FIPS
81void private_RC4_set_key(RC4_KEY *key, int len, const unsigned char *data);
82#endif
79void RC4_set_key(RC4_KEY *key, int len, const unsigned char *data); 83void RC4_set_key(RC4_KEY *key, int len, const unsigned char *data);
80void RC4(RC4_KEY *key, unsigned long len, const unsigned char *indata, 84void RC4(RC4_KEY *key, unsigned long len, const unsigned char *indata,
81 unsigned char *outdata); 85 unsigned char *outdata);