Latest update (add quic)
This commit is contained in:
@@ -35,8 +35,9 @@ void ERR_print_errors_cb(int (*cb) (const char *str, size_t len, void *u),
|
||||
func = "unknown function";
|
||||
if ((flags & ERR_TXT_STRING) == 0)
|
||||
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 = openssl_buf2hexstr_sep((const unsigned char *)&tid, sizeof(tid),
|
||||
'\0');
|
||||
BIO_snprintf(buf, sizeof(buf), "%s:error::%s:%s:%s:%s:%d:%s\n",
|
||||
hex == NULL ? "<null>" : hex, lib, func, reason, file,
|
||||
line, data);
|
||||
OPENSSL_free(hex);
|
||||
|
||||
Reference in New Issue
Block a user