ufairiya / mongoose

Automatically exported from code.google.com/p/mongoose
MIT License
0 stars 0 forks source link

ssl_error() is crashing #214

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Every time function ssl_error() is called, program crashes with exception 
(reading from 0x00...). It is called when there is some error, for example when 
SSL certificate file does not exists and https server is being initialised.

After debuging I discovered, that there is problem with: 

#define ERR_get_error
#define ERR_error_string

Both are mapped to ssl_sw, but they should be mapped to crypto_sw. I have 
tested it and it was working as expected.

This problem was introduced in revision 11cf256aeb (Sep 02, 2010)

Original issue reported on code.google.com by kosorinsky@gmail.com on 23 Dec 2010 at 1:41

GoogleCodeExporter commented 9 years ago
Attached: proposed patch.

Original comment by mseigneu...@aliceadsl.fr on 5 Feb 2011 at 3:15

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you.
Submitted 
http://code.google.com/p/mongoose/source/detail?r=a92e17714e24087b3953ec1ebf6793
fe843b4dde

Original comment by valenok on 5 Mar 2011 at 12:43