socsvn commit: r289828 - soc2013/def/crashdump-head/sbin/cryptcore

def at FreeBSD.org def at FreeBSD.org
Mon Aug 17 16:20:28 UTC 2015


Author: def
Date: Mon Aug 17 16:20:27 2015
New Revision: 289828
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=289828

Log:
  Set encrypted key length.

Modified:
  soc2013/def/crashdump-head/sbin/cryptcore/cryptcore.c

Modified: soc2013/def/crashdump-head/sbin/cryptcore/cryptcore.c
==============================================================================
--- soc2013/def/crashdump-head/sbin/cryptcore/cryptcore.c	Mon Aug 17 15:27:26 2015	(r289827)
+++ soc2013/def/crashdump-head/sbin/cryptcore/cryptcore.c	Mon Aug 17 16:20:27 2015	(r289828)
@@ -62,6 +62,7 @@
 		pjdlog_errno(LOG_ERR, "Unable to encrypt the one-time key");
 		goto failed;
 	}
+	kds->kds_encryptedkeylen = pubkeysize;
 
 	/*
 	 * From this moment on keys have to be erased before exit.


More information about the svn-soc-all mailing list