chiark / gitweb /
rsa: Pass an additional maybe_loc to load_err
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 23 Nov 2019 13:55:56 +0000 (13:55 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 15 Feb 2020 21:56:50 +0000 (21:56 +0000)
commit7e82f73270b1a46e9ce611c2ee9ba25597244968
treee96e71b8e490820c7a039adcb642704e84aa076a
parent39cf2b0228b2fea6e3944a7e9b5e786e6c1c03dc
rsa: Pass an additional maybe_loc to load_err

Use it instead of l->loc if it is non-0.  But it isn't, yet, so no
functional change.

This will allow us to use load_err for handling errors in loadpub,
without regressing the error reporting: the individual bignums have
individual locs.  (Perhaps retaining this is gold-plating, but it is
not particularly hard.)

Rename the function to keep the table within 80 columns.

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