socsvn commit: r294730 - soc2013/def/crashdump-head/sys/kern

def at FreeBSD.org def at FreeBSD.org
Tue Dec 1 23:37:37 UTC 2015


Author: def
Date: Tue Dec  1 23:37:35 2015
New Revision: 294730
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=294730

Log:
  Copy encrypted key.

Modified:
  soc2013/def/crashdump-head/sys/kern/kern_shutdown.c

Modified: soc2013/def/crashdump-head/sys/kern/kern_shutdown.c
==============================================================================
--- soc2013/def/crashdump-head/sys/kern/kern_shutdown.c	Tue Dec  1 23:33:39 2015	(r294729)
+++ soc2013/def/crashdump-head/sys/kern/kern_shutdown.c	Tue Dec  1 23:37:35 2015	(r294730)
@@ -873,6 +873,7 @@
 	}
 
 	kdc->kdc_encryptedkeysize = encryptedkeysize;
+	bcopy(encryptedkey, kdc->kdc_encryptedkey, kdc->kdc_encryptedkeysize);
 
 	kdc->kdc_dumpkeysize = (sizeof(kdc->kdc_encryption) +
 	    sizeof(kdc->kdc_iv) + sizeof(kdc->kdc_encryptedkeysize) +


More information about the svn-soc-all mailing list