1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/misc/afbackup/files/patch-ab
Anton Berezin 5f9bb0d96f Update to 3.3.5.
Submitted by:	maintainer
2001-11-06 13:28:06 +00:00

25 lines
666 B
Plaintext

--- crptauth.c.orig Mon Jun 18 11:47:22 2001
+++ crptauth.c Fri Nov 2 15:51:10 2001
@@ -344,7 +344,7 @@
}
#ifndef LIBDESBUG_COMPATIBILITY
- des_ede2_cbc_encrypt((des_cblock *) buf, (des_cblock *) lbuf,
+ des_ede2_cbc_encrypt(buf, lbuf,
16 * sizeof(UChar),
keys[0], keys[1], ivec, 1);
#else
@@ -403,10 +403,10 @@
}
#ifndef LIBDESBUG_COMPATIBILITY
- des_ede2_cbc_encrypt((des_cblock *) buf, (des_cblock *) cbuf,
+ des_ede2_cbc_encrypt(buf, cbuf,
l * sizeof(UChar),
keys[0], keys[1],
- ivec, en ? 1 : 0);
+ (des_cblock*) ivec, en ? 1 : 0);
#else
des_3cbc_encrypt((des_cblock *) buf, (des_cblock *) cbuf,
l * sizeof(UChar),