aboutsummaryrefslogtreecommitdiff
path: root/openssl/crypto/cast/c_ofb64.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/crypto/cast/c_ofb64.c')
-rw-r--r--openssl/crypto/cast/c_ofb64.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/openssl/crypto/cast/c_ofb64.c b/openssl/crypto/cast/c_ofb64.c
index fd0469a62..cb3222456 100644
--- a/openssl/crypto/cast/c_ofb64.c
+++ b/openssl/crypto/cast/c_ofb64.c
@@ -64,7 +64,7 @@
* 64bit block we have used is contained in *num;
*/
void CAST_ofb64_encrypt(const unsigned char *in, unsigned char *out,
- long length, CAST_KEY *schedule, unsigned char *ivec,
+ long length, const CAST_KEY *schedule, unsigned char *ivec,
int *num)
{
register CAST_LONG v0,v1,t;
@@ -108,4 +108,3 @@ void CAST_ofb64_encrypt(const unsigned char *in, unsigned char *out,
t=v0=v1=ti[0]=ti[1]=0;
*num=n;
}
-