]> jfr.im git - irc/rqf/shadowircd.git/commit
openssl: Avoid cutting off OpenSSL errors at 119 chars.
authorJilles Tjoelker <redacted>
Sat, 8 May 2010 22:30:51 +0000 (00:30 +0200)
committerJilles Tjoelker <redacted>
Sat, 8 May 2010 22:30:51 +0000 (00:30 +0200)
commit57fe1cf10e71d671f340e27dc63d82d8b8706810
tree825fc18f4b98dfd30b9961aeb4666f72155db210
parent9dc68130eacbcb3c278ed18a472bd5ca19f5554a
openssl: Avoid cutting off OpenSSL errors at 119 chars.

ERR_error_string() is just broken, as it returns at most 119 chars
which means error messages are frequently truncated.
Allow for 511 chars using ERR_error_string_n().
libratbox/src/openssl.c