crashing on receiving connection
Guus Sliepen
guus at sliepen.warande.net
Wed Mar 7 15:31:24 CET 2001
On Tue, Mar 06, 2001 at 07:57:11PM +0100, Eduard Bloch wrote:
> What is going wrong? I tried to debug this, but got following with DDD:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x40075a30 in BN_MONT_CTX_set () from /usr/lib/libcrypto.so.0.9.6
>
> Running step-for-step, I saw it crashing in the following line in
> protocol.c:
>
> /* Encrypt the random data */
>
> if(RSA_public_encrypt(len, cl->hischallenge, buffer, cl->rsa_key, RSA_NO_PADDING) != len) /* NO_PADDING because the message size equals the RSA key size and it is totally random */
Are you sure you generated the public key correctly? Could you send a copy of
the host configuration file of zomb so we can check?
-------------------------------------------
Met vriendelijke groet / with kind regards,
Guus Sliepen <guus at sliepen.warande.net>
-------------------------------------------
See also: http://tinc.nl.linux.org/
http://www.kernelbench.org/
-------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://brouwer.uvt.nl/pipermail/tinc/attachments/20010307/8b7db50d/attachment.pgp
More information about the Tinc
mailing list