diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/af_alg.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/af_alg.c b/crypto/af_alg.c index 8ffc174a0154..a8ff3c44e13c 100644 --- a/crypto/af_alg.c +++ b/crypto/af_alg.c @@ -215,6 +215,13 @@ static int alg_setsockopt(struct socket *sock, int level, int optname, goto unlock; err = alg_setkey(sk, optval, optlen); + break; + case ALG_SET_AEAD_AUTHSIZE: + if (sock->state == SS_CONNECTED) + goto unlock; + if (!type->setauthsize) + goto unlock; + err = type->setauthsize(ask->private, optlen); } unlock: |