Revert "Fix a segmentation fault if the private key file is corrupted"

This reverts commit 0f274922003536f46be300997ea0be426ee094bf.
Accidentially reappeared. Mea culpa.