summaryrefslogtreecommitdiff
path: root/cipher.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-01-22 23:33:31 +1100
committerDamien Miller <djm@mindrot.org>2002-01-22 23:33:31 +1100
commit4a8ed543612c99700788d87fe18081d5df4b37c6 (patch)
tree3a102ce09b19c658de9bdb28e0e449261d15db9e /cipher.c
parent9c3f9505d9401a7af93098a59f3979e4608cde50 (diff)
- stevesk@cvs.openbsd.org 2002/01/18 18:14:17
[authfd.c bufaux.c buffer.c cipher.c packet.c ssh-agent.c ssh-keygen.c] unneeded cast cleanup; ok markus@
Diffstat (limited to 'cipher.c')
-rw-r--r--cipher.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cipher.c b/cipher.c
index c02b35161..2186d88ec 100644
--- a/cipher.c
+++ b/cipher.c
@@ -35,7 +35,7 @@
35 */ 35 */
36 36
37#include "includes.h" 37#include "includes.h"
38RCSID("$OpenBSD: cipher.c,v 1.48 2001/12/19 07:18:56 deraadt Exp $"); 38RCSID("$OpenBSD: cipher.c,v 1.49 2002/01/18 18:14:17 stevesk Exp $");
39 39
40#include "xmalloc.h" 40#include "xmalloc.h"
41#include "log.h" 41#include "log.h"
@@ -308,7 +308,7 @@ rijndael_cbc_encrypt(CipherContext *cc, u_char *dest, const u_char *src,
308 if (len % RIJNDAEL_BLOCKSIZE) 308 if (len % RIJNDAEL_BLOCKSIZE)
309 fatal("rijndael_cbc_encrypt: bad len %d", len); 309 fatal("rijndael_cbc_encrypt: bad len %d", len);
310 cnow = dest; 310 cnow = dest;
311 plain = (u_char *) src; 311 plain = (u_char *)src;
312 cprev = iv; 312 cprev = iv;
313 for (i = 0; i < blocks; i++, plain+=RIJNDAEL_BLOCKSIZE, 313 for (i = 0; i < blocks; i++, plain+=RIJNDAEL_BLOCKSIZE,
314 cnow+=RIJNDAEL_BLOCKSIZE) { 314 cnow+=RIJNDAEL_BLOCKSIZE) {