CVSROOT:        /cvs
Module name:    src
Changes by:     st...@cvs.openbsd.org   2011/07/08 17:40:21

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

Log message:
MFC fix for isakmpd intermittent failure to rekey correctly.

-/------------------------
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