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, 7 Dec 2019 17:08:51 +0000 (17:08 +0000)
commit77203cb1e6075a2e2236a7dbeb067ee1633c83e0
treeeed7dd8128dc8a4344b0c573a37cdb9cb4cac75a
parentd5eae98fa46f73065bdefd1339986691f14065ac
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