Commit b188e606 authored by Geoff Simmons's avatar Geoff Simmons

Use thread-safe decoding of libcrypto error messages.

parent 6b11c017
......@@ -57,8 +57,8 @@ static const int aad_len = 0;
static inline void
mk_error(char *buf)
{
snprintf(buf, ERRMSG_LEN, "%s",
ERR_error_string(ERR_get_error(), NULL));
AN(buf);
ERR_error_string_n(ERR_get_error(), buf, ERRMSG_LEN);
}
void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment