aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAndrew Rybchenko <arybchik@FreeBSD.org>2016-05-16 06:42:45 +0000
committerAndrew Rybchenko <arybchik@FreeBSD.org>2016-05-16 06:42:45 +0000
commitff2e27e5bb9f0583c29e0da121c405c8ef9e751b (patch)
tree996e68195b963f95bf6faf345bf31c2f2fd7d268 /sys
parent4df590b5b6b405f2dfa393abe78433db55f53225 (diff)
downloadsrc-ff2e27e5bb9f0583c29e0da121c405c8ef9e751b.tar.gz
src-ff2e27e5bb9f0583c29e0da121c405c8ef9e751b.zip
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. MFC after: 1 week
Notes
Notes: svn path=/head/; revision=299907
Diffstat (limited to 'sys')
-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 2f3bf67c0ed9..24e6c72e6d24 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