Fix a possible segmentation fault during key upgrades.
authorGuus Sliepen <guus@tinc-vpn.org>
Fri, 24 Apr 2015 21:43:19 +0000 (23:43 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Fri, 24 Apr 2015 21:43:19 +0000 (23:43 +0200)
commitea1e815223e99f3747f94cf0d10eb06e52f70b21
treec3998a8f3375db485493df671849339beb8e4855
parent2059814238320b761fb93608b7f8a114de861302
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.
src/net_setup.c