[PATCH v2 03/19] rsatoc: remove unnecessary function call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Calling ENGINE_set_default_RSA() doesn't seem appropriate for upcoming
ECDSA support. I don't know what the call is good for, it works without
it, so remove it.

Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
---
 scripts/rsatoc.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/scripts/rsatoc.c b/scripts/rsatoc.c
index ed167bf247..37728899f8 100644
--- a/scripts/rsatoc.c
+++ b/scripts/rsatoc.c
@@ -289,12 +289,6 @@ static int rsa_engine_init(ENGINE **pe)
 		}
 	}
 
-	if (!ENGINE_set_default_RSA(e)) {
-		fprintf(stderr, "Couldn't set engine as default for RSA\n");
-		ret = -1;
-		goto err_set_rsa;
-	}
-
 	*pe = e;
 
 	return 0;
-- 
2.39.2





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux