summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rc2/rc2ofb64.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/rc2/rc2ofb64.c')
-rw-r--r--src/lib/libcrypto/rc2/rc2ofb64.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/rc2/rc2ofb64.c b/src/lib/libcrypto/rc2/rc2ofb64.c
index 42cdd40cdd..9e297867ed 100644
--- a/src/lib/libcrypto/rc2/rc2ofb64.c
+++ b/src/lib/libcrypto/rc2/rc2ofb64.c
@@ -63,8 +63,9 @@
63 * used. The extra state information to record how much of the 63 * used. The extra state information to record how much of the
64 * 64bit block we have used is contained in *num; 64 * 64bit block we have used is contained in *num;
65 */ 65 */
66void RC2_ofb64_encrypt(unsigned char *in, unsigned char *out, long length, 66void RC2_ofb64_encrypt(const unsigned char *in, unsigned char *out,
67 RC2_KEY *schedule, unsigned char *ivec, int *num) 67 long length, RC2_KEY *schedule, unsigned char *ivec,
68 int *num)
68 { 69 {
69 register unsigned long v0,v1,t; 70 register unsigned long v0,v1,t;
70 register int n= *num; 71 register int n= *num;