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, 7 Dec 2019 17:08:52 +0000 (17:08 +0000)
commitfba1fd1ac71239d4ed6269273719aa26b42ad23a
tree8c7d99be551c814edc2dbda1e4ec8fe518aa8763
parent1cd7b75aeeff811710356e7af6b7bd34877000dc
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