[openssl-dev] [openssl.org #3657] OpenSSL 1.0.1k DTLS handshake no longer works
Viktor Dukhovni
openssl-users at dukhovni.org
Wed Jan 14 21:39:10 UTC 2015
On Wed, Jan 14, 2015 at 11:31:02PM +0200, Eugen-Andrei Gavriloaie wrote:
> Dynamic:
> $ ls -Al /tmp/ssl/lib/
> total 11336
> drwxr-xr-x 14 shiretu wheel 476 Jan 14 23:27 engines
> -r-xr-xr-x 1 shiretu wheel 1602352 Jan 14 23:27 libcrypto.1.0.0.dylib
> -rw-r--r-- 1 shiretu wheel 3196880 Jan 14 23:27 libcrypto.a
> lrwxr-xr-x 1 shiretu wheel 21 Jan 14 23:27 libcrypto.dylib -> libcrypto.1.0.0.dylib
> -r-xr-xr-x 1 shiretu wheel 382440 Jan 14 23:27 libssl.1.0.0.dylib
> -rw-r--r-- 1 shiretu wheel 605504 Jan 14 23:27 libssl.a
> lrwxr-xr-x 1 shiretu wheel 18 Jan 14 23:27 libssl.dylib -> libssl.1.0.0.dylib
> drwxr-xr-x 5 shiretu wheel 170 Jan 14 23:27 pkgconfig
And you have the 1.0.1k include files (/tmp/ssl/include/openssl/*.h)?
And "/tmp/ssl/bin/openssl version -a" output is what?
> $ gcc ~/Dropbox/Public/dtls_bug.c -I/tmp/ssl/include -L/tmp/ssl/lib -lssl -lcrypto -o /tmp/dtls_bug
>
> $ otool -L /tmp/dtls_bug
> /tmp/dtls_bug:
> /tmp/ssl/lib/libssl.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)
> /tmp/ssl/lib/libcrypto.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)
> $ /tmp/dtls_bug
> Assertion failed: (pSSLBuffer->length != 0), function main, file /Users/shiretu/Dropbox/Public/dtls_bug.c, line 110.
> Abort trap: 6
You should also update your code to report error return values from
SSL_accept() and print the contents of error stack.
--
Viktor.
More information about the openssl-dev
mailing list