diff options
Diffstat (limited to 'src/lib/libcrypto/rc2/rc2cfb64.c')
-rw-r--r-- | src/lib/libcrypto/rc2/rc2cfb64.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/lib/libcrypto/rc2/rc2cfb64.c b/src/lib/libcrypto/rc2/rc2cfb64.c index d409fb77e9..5e3fa07d90 100644 --- a/src/lib/libcrypto/rc2/rc2cfb64.c +++ b/src/lib/libcrypto/rc2/rc2cfb64.c | |||
@@ -56,7 +56,7 @@ | |||
56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include "rc2.h" | 59 | #include <openssl/rc2.h> |
60 | #include "rc2_locl.h" | 60 | #include "rc2_locl.h" |
61 | 61 | ||
62 | /* The input and output encrypted as though 64bit cfb mode is being | 62 | /* The input and output encrypted as though 64bit cfb mode is being |
@@ -64,14 +64,8 @@ | |||
64 | * 64bit block we have used is contained in *num; | 64 | * 64bit block we have used is contained in *num; |
65 | */ | 65 | */ |
66 | 66 | ||
67 | void RC2_cfb64_encrypt(in, out, length, schedule, ivec, num, encrypt) | 67 | void RC2_cfb64_encrypt(unsigned char *in, unsigned char *out, long length, |
68 | unsigned char *in; | 68 | RC2_KEY *schedule, unsigned char *ivec, int *num, int encrypt) |
69 | unsigned char *out; | ||
70 | long length; | ||
71 | RC2_KEY *schedule; | ||
72 | unsigned char *ivec; | ||
73 | int *num; | ||
74 | int encrypt; | ||
75 | { | 69 | { |
76 | register unsigned long v0,v1,t; | 70 | register unsigned long v0,v1,t; |
77 | register int n= *num; | 71 | register int n= *num; |