From c17ede547f11afdecc1a98bab6a88116ccb21c91 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 7 Jul 2013 18:51:18 +0200 Subject: [PATCH] crypt.c: Remove condition which is always true. rsa can never be NULL here. --- crypt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crypt.c b/crypt.c index b8577dfc..5445138d 100644 --- a/crypt.c +++ b/crypt.c @@ -147,8 +147,7 @@ static int read_rsa_bignums(const unsigned char *blob, int blen, RSA **result) *result = rsa; return 1; fail: - if (rsa) - RSA_free(rsa); + RSA_free(rsa); return ret; } -- 2.39.5