summaryrefslogtreecommitdiffstats
path: root/ncr-key-wrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'ncr-key-wrap.c')
-rw-r--r--ncr-key-wrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ncr-key-wrap.c b/ncr-key-wrap.c
index 8ca23b8b20f..25bd9e10686 100644
--- a/ncr-key-wrap.c
+++ b/ncr-key-wrap.c
@@ -496,7 +496,7 @@ cleanup:
/* will check if the kek is of equal or higher security level than
* wkey. To prevent encrypting a 256 bit key with an 128 bit one.
*/
-int check_key_level(struct key_item_st* kek, struct key_item_st* wkey)
+static int check_key_level(struct key_item_st* kek, struct key_item_st* wkey)
{
int kek_level, wkey_level;