summaryrefslogtreecommitdiff
path: root/Cryptlib/Include/openssl/rc4.h
diff options
context:
space:
mode:
authorGary Ching-Pang Lin <glin@suse.com>2015-07-13 11:58:44 +0800
committerPeter Jones <pjones@redhat.com>2015-07-28 11:46:38 -0400
commit4ac84f8673eb7f3e5b98226aabe21f3e3111c7db (patch)
tree2fb3d9dd667c772fae5f87fa61e1501cf12da0ce /Cryptlib/Include/openssl/rc4.h
parentdb142ce288a63db2e8f7858ba7564158cc7a64e5 (diff)
downloadefi-boot-shim-4ac84f8673eb7f3e5b98226aabe21f3e3111c7db.tar.gz
efi-boot-shim-4ac84f8673eb7f3e5b98226aabe21f3e3111c7db.zip
Update openssl to 1.0.2d
Also update Cryptlib to edk2 r17731 Signed-off-by: Gary Ching-Pang Lin <glin@suse.com>
Diffstat (limited to 'Cryptlib/Include/openssl/rc4.h')
-rw-r--r--Cryptlib/Include/openssl/rc4.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Cryptlib/Include/openssl/rc4.h b/Cryptlib/Include/openssl/rc4.h
index 006f8397..39162b16 100644
--- a/Cryptlib/Include/openssl/rc4.h
+++ b/Cryptlib/Include/openssl/rc4.h
@@ -64,6 +64,8 @@
# error RC4 is disabled.
# endif
+# include <stddef.h>
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -74,11 +76,9 @@ typedef struct rc4_key_st {
} RC4_KEY;
const char *RC4_options(void);
-# ifdef OPENSSL_FIPS
-void private_RC4_set_key(RC4_KEY *key, int len, const unsigned char *data);
-# endif
void RC4_set_key(RC4_KEY *key, int len, const unsigned char *data);
-void RC4(RC4_KEY *key, unsigned long len, const unsigned char *indata,
+void private_RC4_set_key(RC4_KEY *key, int len, const unsigned char *data);
+void RC4(RC4_KEY *key, size_t len, const unsigned char *indata,
unsigned char *outdata);
#ifdef __cplusplus