chiark / gitweb /
rsa1: rsapriv_apply: Introduce macros for cfgfatal* and free
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 6 Oct 2019 20:06:10 +0000 (21:06 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 15 Feb 2020 21:56:49 +0000 (21:56 +0000)
commit5ab085cead58ae5eebb9bc8743439782444833bd
tree098353891164c261b84485f147fecff1c966e030
parent2b24a05ebd597d54722d8a49c935173a1437632d
rsa1: rsapriv_apply: Introduce macros for cfgfatal* and free

We now make a distinction in rsapriv_apply's body between errors which
mean the file is not an rsa private key file, from other errors.

We replace free with a macro too because we are going to change the
error handling so as to support non-fatal early return.

No functional change.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
rsa.c