handshak3
unread,Oct 5, 2013, 3:13:47 PM10/5/13You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi,
I am facing an intermittent issue while doing SSL_read on a non blocking socket.
Some times the SSL_read fails with following error:
error:0D06B08E:asn1 encoding routines:ASN1_D2I_READ_BIO:not enough data
I also ran ssldump and figured that the server is sending the data properly. Here is the last few lines in the ssldump:
42 51 1380959307.9872 (0.0001) S>CV3.1(2768) application_data
---------------------------------------------------------------
2733:0 11:3 649068864,21:3 6124902931923853573,2464:3
...
..
US,1:3,1:3,1:3,1:6,,---------------------------------------------------------------
42 52 1380959308.0236 (0.0363) C>SV3.1(32) Alert
level warning
value close_notify
42 1380959308.0236 (0.0000) C>S TCP RST
On top of it this happens when we a PKCS7 decrypt & verify in our code somewhere earlier during the execution. I am not sure if there is any link between this error on SSL_read and PKCS7 decrypt & verify
Any clue on what could be going wrong will be highly appreciated.
Thanks,
Rohit Bansal