X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/f2d46122d30004b152f9c581a438b9939707bab9..2d1885f1d15a55d0c6607ec8ad9cceab8f110480:/armsrc/desfire_key.c?ds=inline

diff --git a/armsrc/desfire_key.c b/armsrc/desfire_key.c
index b3aa14e9..9ae2c3f0 100644
--- a/armsrc/desfire_key.c
+++ b/armsrc/desfire_key.c
@@ -60,6 +60,7 @@ void Desfire_3des_key_new_with_version (const uint8_t value[16], desfirekey_t ke
     if ( key != NULL ){
 		key->type = T_3DES;
 		memcpy (key->data, value, 16);
+		memcpy (key->data + 16, value, 8);
 		update_key_schedules (key);
 	}
 }