Hello, The attached patch removes a duplicate or check (the first problem listed in this ticket).
Regards, Kurt Cancemi
>From 395cd71ac22028da8545e1796e34b757c91c48d3 Mon Sep 17 00:00:00 2001 From: Kurt Cancemi <[email protected]> Date: Wed, 18 Jun 2014 04:54:52 -0400 Subject: [PATCH] Removed duplicate or check in the STORE_get_private_key function --- crypto/store/str_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/store/str_lib.c b/crypto/store/str_lib.c index f1dbcbd..7e4145a 100644 --- a/crypto/store/str_lib.c +++ b/crypto/store/str_lib.c @@ -472,7 +472,7 @@ EVP_PKEY *STORE_get_private_key(STORE *s, OPENSSL_ITEM attributes[], object = s->meth->get_object(s, STORE_OBJECT_TYPE_PRIVATE_KEY, attributes, parameters); - if (!object || !object->data.key || !object->data.key) + if (!object || !object->data.key) { STOREerr(STORE_F_STORE_GET_PRIVATE_KEY, STORE_R_FAILED_GETTING_KEY); -- 1.9.1
