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-wrap.c | |
parent | 68c4e5ec42e1151591aee19ba36a4dbe22715a91 (diff) | |
download | cryptodev-linux-e8372045818cb278ad2fe05ab64d3a76990cd1ed.tar.gz cryptodev-linux-e8372045818cb278ad2fe05ab64d3a76990cd1ed.tar.xz cryptodev-linux-e8372045818cb278ad2fe05ab64d3a76990cd1ed.zip |
Added ENCRYPT, UNWRAPPING and VERIFY key flags
Diffstat (limited to 'ncr-key-wrap.c')
-rw-r--r-- | ncr-key-wrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ncr-key-wrap.c b/ncr-key-wrap.c index 1107083..2f2695d 100644 --- a/ncr-key-wrap.c +++ b/ncr-key-wrap.c @@ -624,7 +624,7 @@ int ret; goto fail; } - if (!(key->flags & NCR_KEY_FLAG_WRAPPING)) { + if (!(key->flags & NCR_KEY_FLAG_UNWRAPPING)) { err(); ret = -EPERM; goto fail; |