=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/rijndael.c,v retrieving revision 1.12.2.1 retrieving revision 1.12.2.2 diff -u -r1.12.2.1 -r1.12.2.2 --- src/usr.bin/ssh/rijndael.c 2002/03/07 17:37:47 1.12.2.1 +++ src/usr.bin/ssh/rijndael.c 2002/10/11 14:53:07 1.12.2.2 @@ -1,4 +1,4 @@ -/* $OpenBSD: rijndael.c,v 1.12.2.1 2002/03/07 17:37:47 jason Exp $ */ +/* $OpenBSD: rijndael.c,v 1.12.2.2 2002/10/11 14:53:07 miod Exp $ */ /** * rijndael-alg-fst.c @@ -1224,7 +1224,7 @@ memset(ctx->dk, 0, sizeof(ctx->dk)); } else { ctx->decrypt = 1; - memcpy(ctx->dk, ctx->ek, sizeof(ctx->ek)); + memcpy(ctx->dk, ctx->ek, sizeof(ctx->dk)); rijndaelKeySetupDec(ctx->dk, key, bits, ctx->Nr); } }