CVSROOT:        /cvs
Module name:    src
Changes by:     mi...@cvs.openbsd.org   2011/06/15 04:35:47

Modified files:
        sbin/isakmpd   : dh.c 

Log message:
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

Reply via email to