summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarybchik <arybchik@FreeBSD.org>2016-06-04 16:31:56 +0000
committerarybchik <arybchik@FreeBSD.org>2016-06-04 16:31:56 +0000
commitabd6f70fe975973cc0bd955978b158c6eafd3665 (patch)
tree16dff67ff6f9e5895d1fcc0058b9cee9ed5e553e
parente6051453d475a6353a94e11c0b87e5497943897e (diff)
downloadFreeBSD-src-abd6f70fe975973cc0bd955978b158c6eafd3665.zip
FreeBSD-src-abd6f70fe975973cc0bd955978b158c6eafd3665.tar.gz
MFC r299907
sfxge(4): increase maximum size of license keys Increase buffer sizes for license keys to 160 bytes to accomodate ECDSA hashes. Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com> Sponsored by: Solarflare Communications, Inc.
-rw-r--r--sys/dev/sfxge/common/efx_lic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sfxge/common/efx_lic.c b/sys/dev/sfxge/common/efx_lic.c
index 2f3bf67..24e6c72 100644
--- a/sys/dev/sfxge/common/efx_lic.c
+++ b/sys/dev/sfxge/common/efx_lic.c
@@ -1102,7 +1102,7 @@ fail1:
/* V3 format uses Huntington TLV format partition. See SF-108797-SW */
#define EFX_LICENSE_V3_KEY_LENGTH_MIN (64)
-#define EFX_LICENSE_V3_KEY_LENGTH_MAX (128)
+#define EFX_LICENSE_V3_KEY_LENGTH_MAX (160)
#define EFX_LICENSE_V3_HASH_LENGTH (64)
__checkReturn efx_rc_t
OpenPOWER on IntegriCloud