remove a comment that shouldn't have been there any more
[openssl.git] / crypto / des / pcbc_enc.c
index 850717cc5718fc8266b6e13b449f955bdfa34775..dd69a26d4aabb111fe560b5738f59d226d97ef63 100644 (file)
 
 #include "des_locl.h"
 
-void des_pcbc_encrypt(input, output, length, schedule, ivec, enc)
-const unsigned char *input;
-unsigned char *output;
-long length;
-des_key_schedule schedule;
-des_cblock ivec;
-int enc;
+void des_pcbc_encrypt(const unsigned char *input, unsigned char *output,
+            long length, des_key_schedule schedule, des_cblock *ivec, int enc)
        {
        register DES_LONG sin0,sin1,xor0,xor1,tout0,tout1;
        DES_LONG tin[2];
-       unsigned char *in,*out,*iv;
+       const unsigned char *in;
+       unsigned char *out,*iv;
 
-       in=(unsigned char *)input;
-       out=(unsigned char *)output;
-       iv=(unsigned char *)ivec;
+       in=input;
+       out=output;
+       iv = &(*ivec)[0];
 
        if (enc)
                {