Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SSL_ERROR_SYSCALL errno=0

662 views
Skip to first unread message

hhachem

unread,
Apr 15, 2014, 4:44:50 AM4/15/14
to
Hello,

I have an issue, that I've been trying to resolve for weeks now. I have 2
devices. The major different between them is the linux Kernel version. On
Linux 2.6.24.6, ssl_connect() works flawlessly. On 2.4.21 it returns -1. The
SSL_get_error() returns SSL_ERROR_SYSCALL but errno is 0 (perror() prints
"Success"). Does anyone have a solution for this?



--
View this message in context: http://openssl.6102.n7.nabble.com/SSL-ERROR-SYSCALL-errno-0-tp49462.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openss...@openssl.org
Automated List Manager majo...@openssl.org

hhachem

unread,
Apr 15, 2014, 5:07:34 AM4/15/14
to
Strace shows the following before the error:


ioctl(10, TCGETS, 0x7fffe068) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x300
26000
_llseek(0xa, 0, 0, 0x7fffe2f8, 0x1) = -1 ESPIPE (Illegal seek)




--
View this message in context: http://openssl.6102.n7.nabble.com/SSL-ERROR-SYSCALL-errno-0-tp49462p49464.html

Carl Young

unread,
Apr 15, 2014, 12:28:49 PM4/15/14
to
This thread have any relevance to you?

http://stackoverflow.com/questions/12885680/pem-read-rsaprivatekey-returns-illegal-seek-when-decrypting-using-openssl-libs


________________________________________
From: owner-ope...@openssl.org [owner-ope...@openssl.org] on behalf of hhachem [hamze....@deos-ag.com]
Sent: 15 April 2014 10:07
To: openss...@openssl.org
Subject: Re: SSL_ERROR_SYSCALL errno=0

hhachem

unread,
Apr 15, 2014, 2:00:09 PM4/15/14
to
Thanks for the reply. I'll give the suggestions a try tomorrow. We've been
thinking, that our kernel version (it is custom and does not support all
system calls) is relatively old and missing some features that are required
by OpenSSL. I'll post back tomorrow, if anything changes.
Note: I've tried ERR_string_error() and got 0x00 in all fileds.



--
View this message in context: http://openssl.6102.n7.nabble.com/SSL-ERROR-SYSCALL-errno-0-tp49462p49489.html
0 new messages