Latest update.
This commit is contained in:
@@ -36,7 +36,8 @@ void ERR_print_errors_cb(int (*cb) (const char *str, size_t len, void *u),
|
||||
data = "";
|
||||
hex = OPENSSL_buf2hexstr((const unsigned char *)&tid, sizeof(tid));
|
||||
BIO_snprintf(buf, sizeof(buf), "%s:error:%s:%s:%s:%s:%d:%s\n",
|
||||
hex, lib, func, reason, file, line, data);
|
||||
hex == NULL ? "<null>" : hex, lib, func, reason, file,
|
||||
line, data);
|
||||
OPENSSL_free(hex);
|
||||
if (cb(buf, strlen(buf), u) <= 0)
|
||||
break; /* abort outputting the error report */
|
||||
|
||||
Reference in New Issue
Block a user