remove a comment that shouldn't have been there any more
[openssl.git] / crypto / des / pcbc_enc.c
index 2d5bb40e5f82ff38df96bbfc81c218a541d559b1..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];
@@ -73,7 +68,7 @@ int enc;
 
        in=input;
        out=output;
-       iv=ivec;
+       iv = &(*ivec)[0];
 
        if (enc)
                {