simon-git: putty (main): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Sun Nov 21 22:21:30 GMT 2021
TL;DR:
42120dd1 testcrypt: adjust some function parameter names.
Repository: https://git.tartarus.org/simon/putty.git
On the web: https://git.tartarus.org/?p=simon/putty.git
Branch updated: main
Committer: Simon Tatham <anakin at pobox.com>
Date: 2021-11-21 22:21:30
commit 42120dd1c5184191ba90d127073ef99d28d61b53
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=42120dd1c5184191ba90d127073ef99d28d61b53;hp=1cf04cf01d1255c39776f9f23f0712deb7f96b5c
Author: Simon Tatham <anakin at pobox.com>
Date: Sun Nov 21 22:13:02 2021 +0000
testcrypt: adjust some function parameter names.
Now those names appear in help files, I thought it was worth giving
them a read-through and spotting any really obviously confusing or
wrong ones. Quite a few make more sense in the original context of C
than in the derived Python (e.g. 'BinarySink *bs' as a place to write
output to makes sense, but the output 'val_string bs' is less
helpful).
A couple were so confusing that I also corrected them in the original
C, notably the misuse of 'wc' for the elliptic curve point input to
ecc_weierstrass_point_copy. ('wc' in that section of the code is
normally a parameter describing a whole curve.)
crypto/ecc.h | 4 +-
testcrypt.h | 131 ++++++++++++++++++++++++++++++-----------------------------
2 files changed, 69 insertions(+), 66 deletions(-)
More information about the tartarus-commits
mailing list