From 7a37fb30a8b7afb5b61b37b3ef83223f0bbff150 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 23 Nov 2019 14:11:59 +0000 Subject: [PATCH] rsa: rsapub_dispose: Use RSAPUB_CLEAR_ST_BN This is a small cleanup. Signed-off-by: Ian Jackson --- rsa.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rsa.c b/rsa.c index 48ce710..c2e8e1b 100644 --- a/rsa.c +++ b/rsa.c @@ -320,8 +320,7 @@ static void rsapub_dispose(void *sst) { struct rsapub *st=sst; if (!st) return; - mpz_clear(&st->e); - mpz_clear(&st->n); + RSAPUB_BNS(RSAPUB_CLEAR_ST_BN) rsacommon_dispose(&st->common); free(st); } -- 2.30.2