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, 15 Feb 2020 21:56:49 +0000 (21:56 +0000)
commit5a27ac7f18712b0666ad4a9d8afca8e69d353bd5
treee1183b571c930a47c4a36c0f1d91cfe89103acaa
parentc7e6b78d0e867626783850dddc2d61c1c8999801
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