projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Discuss http://www.shoup.net/papers/oaep.ps.Z
[openssl.git]
/
crypto
/
rc4
/
rc4_skey.c
diff --git
a/crypto/rc4/rc4_skey.c
b/crypto/rc4/rc4_skey.c
index 03e69e16c3a3f28bd181b3a65ff30ff682864ddc..bb10c1ebe2892a3b69092f64975e5a33a7fc1b19 100644
(file)
--- a/
crypto/rc4/rc4_skey.c
+++ b/
crypto/rc4/rc4_skey.c
@@
-56,12
+56,13
@@
* [including the GNU Public Licence.]
*/
* [including the GNU Public Licence.]
*/
-#include
"rc4.h"
+#include
<openssl/rc4.h>
#include "rc4_locl.h"
#include "rc4_locl.h"
+#include <openssl/opensslv.h>
-c
har *RC4_version="RC4 part of SSLeay 0.9.1a 06-Jul-1998"
;
+c
onst char *RC4_version="RC4" OPENSSL_VERSION_PTEXT
;
-c
har *RC4_options(
)
+c
onst char *RC4_options(void
)
{
#ifdef RC4_INDEX
if (sizeof(RC4_INT) == 1)
{
#ifdef RC4_INDEX
if (sizeof(RC4_INT) == 1)
@@
-84,10
+85,7
@@
char *RC4_options()
* Date: Wed, 14 Sep 1994 06:35:31 GMT
*/
* Date: Wed, 14 Sep 1994 06:35:31 GMT
*/
-void RC4_set_key(key, len, data)
-RC4_KEY *key;
-int len;
-register unsigned char *data;
+void RC4_set_key(RC4_KEY *key, int len, const unsigned char *data)
{
register RC4_INT tmp;
register int id1,id2;
{
register RC4_INT tmp;
register int id1,id2;