From: Guus Sliepen Date: Fri, 24 Apr 2015 21:43:19 +0000 (+0200) Subject: Fix a possible segmentation fault during key upgrades. X-Git-Tag: release-1.1pre12~182 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;ds=inline;h=ea1e815223e99f3747f94cf0d10eb06e52f70b21;hp=ea1e815223e99f3747f94cf0d10eb06e52f70b21;p=tinc Fix a possible segmentation fault during key upgrades. read_rsa_public_key() was bailing out early if the given node already has an Ed25519 key, and returned true even though c->rsa was NULL. The early bailout code isn't necessary anymore, so just remove it. ---