summary refs log tree commit diff
path: root/net/xfrm/xfrm_user.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2017-04-06 16:16:09 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2017-04-10 19:17:26 +0800
commit3f69cc60768b2cd15e5cbd3a4b91c46535138382 (patch)
tree1f2750b1d97702c3678d95c717ed86e3c756f805 /net/xfrm/xfrm_user.c
parent4473710df1f8779c59b33737eeaa151596907761 (diff)
downloadlinux-3f69cc60768b2cd15e5cbd3a4b91c46535138382.tar.gz
crypto: af_alg - Allow arbitrarily long algorithm names
This patch removes the hard-coded 64-byte limit on the length
of the algorithm name through bind(2).  The address length can
now exceed that.  The user-space structure remains unchanged.
In order to use a longer name simply extend the salg_name array
beyond its defined 64 bytes length.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/xfrm/xfrm_user.c')
0 files changed, 0 insertions, 0 deletions