CVSROOT:        /cvs
Module name:    src
Changes by:     o...@cvs.openbsd.org    2011/07/14 08:43:22

Modified files:
        sbin/isakmpd   : Tag: OPENBSD_4_8 dh.c 

Log message:
MFC fix for isakmpd intermittent failure to rekey correctly.
ok sthen@
-/------------------------
revision 1.14
date: 2011/06/15 10:35:47;  author: mikeb;  state: Exp;  lines: +22 -4
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