A simpler way to see the crypto bug. . . .

$ openvpn --secret static.key --test-crypto
     ....
Fri May 29 10:56:58 2009 OpenVPN crypto self-test mode SUCCEEDED.

$ openvpn --secret static.key --test-crypto --cipher bf-ofb
Fri May 29 11:12:07 2009 OpenVPN 2.1_rc15 mipsel-unknown-linux-gnu [SSL]
[LZO2] built on May  2 2009
Fri May 29 11:12:07 2009 OpenVPN 2.1_rc15 mipsel-unknown-linux-gnu [SSL]
[LZO2] built on May  2 2009
Fri May 29 11:12:07 2009 Entering OpenVPN crypto self-test mode.
Fri May 29 11:12:07 2009 TESTING ENCRYPT/DECRYPT of packet length=1
Fri May 29 11:12:07 2009 Assertion failed at crypto.c:162
Fri May 29 11:12:07 2009 Exiting

I'd like someone who understands this code to confirm that the ASSERT is
incorrect.

(I'll also point out the minor bug of the header being printed out twice!)

Reply via email to