=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/rijndael.c,v retrieving revision 1.12.2.2 retrieving revision 1.13 diff -u -r1.12.2.2 -r1.13 --- src/usr.bin/ssh/rijndael.c 2002/10/11 14:53:07 1.12.2.2 +++ src/usr.bin/ssh/rijndael.c 2001/12/19 07:18:56 1.13 @@ -1,4 +1,4 @@ -/* $OpenBSD: rijndael.c,v 1.12.2.2 2002/10/11 14:53:07 miod Exp $ */ +/* $OpenBSD: rijndael.c,v 1.13 2001/12/19 07:18:56 deraadt 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->dk)); + memcpy(ctx->dk, ctx->ek, sizeof(ctx->ek)); rijndaelKeySetupDec(ctx->dk, key, bits, ctx->Nr); } }