From: Andre Noll <maan@systemlinux.org>
Date: Sun, 7 Jul 2013 16:51:18 +0000 (+0200)
Subject: crypt.c: Remove condition which is always true.
X-Git-Tag: v0.5.1~12^2~5
X-Git-Url: https://git.tuebingen.mpg.de/?a=commitdiff_plain;h=c17ede547f11afdecc1a98bab6a88116ccb21c91;p=paraslash.git

crypt.c: Remove condition which is always true.

rsa can never be NULL here.
---

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;
 }