chiark / gitweb /
rsa1: Indirect postreadcheck via the context
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 6 Oct 2019 22:08:01 +0000 (23:08 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 7 Dec 2019 17:08:51 +0000 (17:08 +0000)
commitb06b7fd68766af14d5434f031e7d176482d5d28f
tree7ea2c6632aa488307a660e73c6dcbe4ec9cbd54f
parent415f76d41fe929bfdff7e4066029fb75adbb9cb6
rsa1: Indirect postreadcheck via the context

Move this error check out of the keyfile_get_NN functions into the
KEYFILE_GET macro.  The macro uses a helper function from the context,
which can now cause the function to return early.

No functional change.

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