make this build

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7215 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1999-10-21 12:58:52 +00:00
parent 8ea0f435cc
commit a165822bc9
3 changed files with 15 additions and 41 deletions

View File

@@ -56,33 +56,21 @@
* [including the GNU Public Licence.]
*/
/* $Id$ */
#ifndef HEADER_RC4_H
#define HEADER_RC4_H
#ifdef __cplusplus
extern "C" {
#endif
typedef unsigned int RC4_INT;
#ifdef NO_RC4
#error RC4 is disabled.
#endif
#include <openssl/opensslconf.h> /* RC4_INT */
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, unsigned char *data);
void RC4(RC4_KEY *key, unsigned long len, unsigned char *indata,
unsigned char *outdata);
#ifdef __cplusplus
}
#endif
unsigned char *outdata);
#endif