thamagates / mongoose

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

ssl_error() is crashing #214

Open GoogleCodeExporter opened 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