X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Ffsck.c;h=28da620e02cefef48b03fdab373046ac3d63dbde;hb=8cb4dbb04af15e95e9a302670a4c6fd21e0ebfd6;hp=e7262727e67e85e5a328a65a65fcf034febe6bf1;hpb=0289162552cd85375605044c696e2a3294e7aa9a;p=tinc diff --git a/src/fsck.c b/src/fsck.c index e7262727..28da620e 100644 --- a/src/fsck.c +++ b/src/fsck.c @@ -541,9 +541,7 @@ static bool check_public_keys(splay_tree_t *config, const char *name, rsa_t *rsa bool success = true; #ifndef DISABLE_LEGACY - rsa_t *rsa_pub = NULL; - read_rsa_public_key(&rsa_pub, config, name); - + rsa_t *rsa_pub = read_rsa_public_key(config, name); success = check_rsa_pubkey(rsa_priv, rsa_pub, host_file); rsa_free(rsa_pub); #endif