diff options
author | George Hazan <ghazan@miranda.im> | 2017-11-10 18:36:08 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-11-10 18:36:08 +0300 |
commit | d34a80f41a4bdae108d5f77e3397bc893fbacf6e (patch) | |
tree | a7e3500c16d2867c6ac657952fb11286606f8913 /include/openssl/rc4.h | |
parent | 75b344c4c8b4148602279b51bc2cc5d45b03c324 (diff) |
update to openssl headers from version 1.0.2m
Diffstat (limited to 'include/openssl/rc4.h')
-rw-r--r-- | include/openssl/rc4.h | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/include/openssl/rc4.h b/include/openssl/rc4.h index 88df631a01..c08ec3f52d 100644 --- a/include/openssl/rc4.h +++ b/include/openssl/rc4.h @@ -57,31 +57,29 @@ */
#ifndef HEADER_RC4_H
-#define HEADER_RC4_H
+# define HEADER_RC4_H
-#include <openssl/opensslconf.h> /* OPENSSL_NO_RC4, RC4_INT */
-#ifdef OPENSSL_NO_RC4
-#error RC4 is disabled.
-#endif
+# include <openssl/opensslconf.h>/* OPENSSL_NO_RC4, RC4_INT */
+# ifdef OPENSSL_NO_RC4
+# error RC4 is disabled.
+# endif
-#include <stddef.h>
+# include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif
-typedef struct rc4_key_st
- {
- RC4_INT x,y;
- RC4_INT data[256];
- } RC4_KEY;
-
+typedef struct rc4_key_st {
+ RC4_INT x, y;
+ RC4_INT data[256];
+} RC4_KEY;
const char *RC4_options(void);
void RC4_set_key(RC4_KEY *key, int len, const unsigned char *data);
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);
+ unsigned char *outdata);
#ifdef __cplusplus
}
|