diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-08-25 17:47:55 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-08-25 17:52:40 +0200 |
commit | e8372045818cb278ad2fe05ab64d3a76990cd1ed (patch) | |
tree | 4bb6a3dd05728ee9622b1eabecb7ba8c6beff15f /ncr-key.c | |
parent | 68c4e5ec42e1151591aee19ba36a4dbe22715a91 (diff) | |
download | kernel-crypto-e8372045818cb278ad2fe05ab64d3a76990cd1ed.tar.gz kernel-crypto-e8372045818cb278ad2fe05ab64d3a76990cd1ed.tar.xz kernel-crypto-e8372045818cb278ad2fe05ab64d3a76990cd1ed.zip |
Added ENCRYPT, UNWRAPPING and VERIFY key flags
Diffstat (limited to 'ncr-key.c')
-rw-r--r-- | ncr-key.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ncr-key.c b/ncr-key.c index 8f74ade80e3..f9fdcf4d5b5 100644 --- a/ncr-key.c +++ b/ncr-key.c @@ -315,6 +315,7 @@ void ncr_key_assign_flags(struct key_item_st* item, unsigned int flags) item->flags = flags; } else { item->flags = flags & (~(NCR_KEY_FLAG_WRAPPING)); + item->flags = flags & (~(NCR_KEY_FLAG_UNWRAPPING)); } } |