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>
Mon, 30 Dec 2019 13:15:49 +0000 (13:15 +0000)
commit9f9747b36484b983cd85ac3b0f989955641daf70
tree303854b4115400bc16016d49ce3f2933f1be0761
parent84d10fe1b24ee3f8ea6de5c09c0bed38b9cd5aed
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