summaryrefslogtreecommitdiff
path: root/src/usr.bin/nc
diff options
context:
space:
mode:
authortb <>2023-07-03 13:53:54 +0000
committertb <>2023-07-03 13:53:54 +0000
commit556ac59e012f4b9c05b4a8fec4d7245bbd9dc1a3 (patch)
treebb803a62b99b495c15378d923d6ca6a16564b1c0 /src/usr.bin/nc
parent15bf5c4650c5014c8ea5f866385d01d28022cff4 (diff)
downloadopenbsd-556ac59e012f4b9c05b4a8fec4d7245bbd9dc1a3.tar.gz
openbsd-556ac59e012f4b9c05b4a8fec4d7245bbd9dc1a3.tar.bz2
openbsd-556ac59e012f4b9c05b4a8fec4d7245bbd9dc1a3.zip
Rework the logic in ECDSA sign_sig()
If the caller supplied both kinv and r, we don't loop but rather throw an undocumented error code that no one uses, which is intended to tell the caller to run ECDSA_sign_setup() and try again. Use a boolean that indicates this situation so that the logic becomes a bit more transparent. ok jsing
Diffstat (limited to 'src/usr.bin/nc')
0 files changed, 0 insertions, 0 deletions