diff options
author | Daiki Ueno <ueno@gnu.org> | 2020-09-13 17:19:32 +0200 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2020-09-18 10:12:24 +0200 |
commit | 14045b9be6c8b16544c6ea3fa28d3d26f5eefa61 (patch) | |
tree | 1d1e1a866c0aa83ea00c1998db35adb814e44997 /src/certtool-common.c | |
parent | 6750b147fefd6c6824669613c0051cff218d6e3c (diff) | |
download | gnutls-14045b9be6c8b16544c6ea3fa28d3d26f5eefa61.tar.gz |
build: remove dead assignments
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Diffstat (limited to 'src/certtool-common.c')
-rw-r--r-- | src/certtool-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/certtool-common.c b/src/certtool-common.c index 3af2d08080..31e1c2619f 100644 --- a/src/certtool-common.c +++ b/src/certtool-common.c @@ -698,7 +698,7 @@ gnutls_pubkey_t load_public_key_or_import(int mand, app_exit(1); } - if (!privkey || (ret = gnutls_pubkey_import_privkey(pubkey, privkey, 0, 0)) < 0) { /* could not get (e.g. on PKCS #11 */ + if (!privkey || gnutls_pubkey_import_privkey(pubkey, privkey, 0, 0) < 0) { /* could not get (e.g. on PKCS #11) */ gnutls_pubkey_deinit(pubkey); pubkey = load_pubkey(0, info); if (pubkey == NULL && mand) { |