From 25110ec122b27e1b41d14a0dae02b74e1cf4131d Mon Sep 17 00:00:00 2001 From: Alessio Di Mauro Date: Tue, 25 Aug 2015 15:59:59 +0200 Subject: [PATCH] Remove some warnings. --- ykcs11/mechanisms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ykcs11/mechanisms.c b/ykcs11/mechanisms.c index a469574..23285e8 100644 --- a/ykcs11/mechanisms.c +++ b/ykcs11/mechanisms.c @@ -1,4 +1,6 @@ #include "mechanisms.h" +#include "openssl_utils.h" +#include "utils.h" #include "debug.h" #include @@ -336,7 +338,6 @@ CK_RV check_generation_mechanism(const ykcs11_session_t *s, CK_MECHANISM_PTR m) CK_RV check_pubkey_template(op_info_t *op_info, CK_ATTRIBUTE_PTR templ, CK_ULONG n) { CK_ULONG i; - CK_BBOOL rsa_mechanism; op_info->op.gen.rsa = is_RSA_mechanism(op_info->mechanism.mechanism); @@ -416,7 +417,6 @@ CK_RV check_pubkey_template(op_info_t *op_info, CK_ATTRIBUTE_PTR templ, CK_ULONG CK_RV check_pvtkey_template(op_info_t *op_info, CK_ATTRIBUTE_PTR templ, CK_ULONG n) { CK_ULONG i; - CK_BBOOL rsa_mechanism; op_info->op.gen.rsa = is_RSA_mechanism(op_info->mechanism.mechanism);