diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2011-06-15 10:35:48 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2011-06-15 10:35:48 +0000 |
commit | d5197df77301177f78f208941fbed20b5cef39b3 (patch) | |
tree | 73d05c87311287ad5ba3f1d6fc147cdb52b7b9a6 /etc | |
parent | 902175ed45929edc16a99c241c40fac67a81c00a (diff) |
When BN_bn2bin converts a bignum to the binary representation
it skips leading zeroes if there are any. To accommodate the
difference with the protocol we need to prepend those zeroes
ourselves.
Fixes PR 6601, tested by Pawel Wieleba, sthen, otto.
Huge thanks to Pawel for spending nearly a week testing diffs.
ok sthen
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions