Date: Tue, 1 Dec 2015 23:10:11 GMT From: def@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r294727 - in soc2013/def/crashdump-head/sys: geom sys Message-ID: <201512012310.tB1NABxV079677@socsvn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: def Date: Tue Dec 1 23:10:11 2015 New Revision: 294727 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=294727 Log: Style. Modified: soc2013/def/crashdump-head/sys/geom/geom_dev.c soc2013/def/crashdump-head/sys/sys/kerneldump.h Modified: soc2013/def/crashdump-head/sys/geom/geom_dev.c ============================================================================== --- soc2013/def/crashdump-head/sys/geom/geom_dev.c Tue Dec 1 23:09:25 2015 (r294726) +++ soc2013/def/crashdump-head/sys/geom/geom_dev.c Tue Dec 1 23:10:11 2015 (r294727) @@ -498,7 +498,7 @@ if (kda->kda_encryption != KERNELDUMP_ENC_NONE) { if (kda->kda_encryptedkeysize <= 0 || kda->kda_encryptedkeysize > - KERNELDUMP_ENCKEYLEN_MAX) { + KERNELDUMP_ENCKEY_MAX_SIZE) { return (EINVAL); } encryptedkey = malloc(kda->kda_encryptedkeysize, M_TEMP, Modified: soc2013/def/crashdump-head/sys/sys/kerneldump.h ============================================================================== --- soc2013/def/crashdump-head/sys/sys/kerneldump.h Tue Dec 1 23:09:25 2015 (r294726) +++ soc2013/def/crashdump-head/sys/sys/kerneldump.h Tue Dec 1 23:10:11 2015 (r294727) @@ -61,8 +61,7 @@ #define KERNELDUMP_BLOCK_SIZE 512 #define KERNELDUMP_IV_MAX_SIZE 32 #define KERNELDUMP_KEY_MAX_SIZE 64 - -#define KERNELDUMP_ENCKEYLEN_MAX (16384 / 8) +#define KERNELDUMP_ENCKEY_MAX_SIZE (16384 / 8) /* * All uintX_t fields are in dump byte order, which is the same as
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512012310.tB1NABxV079677>