Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75956
b: refs/heads/master
c: 12dc5e6
h: refs/heads/master
v: v3
  • Loading branch information
Herbert Xu committed Jan 10, 2008
1 parent 5f29ce4 commit 603eeb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c2c61f513db395ddd8d67690bf3301ebe1e8155a
refs/heads/master: 12dc5e62b4f93f1d399fd81e35be3f9ea0027712
2 changes: 1 addition & 1 deletion trunk/crypto/authenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ static int crypto_authenc_setkey(struct crypto_aead *authenc, const u8 *key,
struct crypto_authenc_key_param *param;
int err = -EINVAL;

if (keylen < sizeof(*rta))
if (!RTA_OK(rta, keylen))
goto badkey;
if (rta->rta_type != CRYPTO_AUTHENC_KEYA_PARAM)
goto badkey;
Expand Down

0 comments on commit 603eeb1

Please sign in to comment.