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>
Mon, 30 Dec 2019 13:15:49 +0000 (13:15 +0000)
commit2a39217ea8ddeac381b33e0596965b2ac8165ace
tree5b57434440532c545fce13b95792f944e8f7be0c
parentb8c644be69f5756d5f7cf26db462f1c39da49378
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