projects
/
tinc
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b29bd914c522e06139fb199d87c57b6a50165050
[tinc]
/
log.c
1
#include <openssl/err.h>
2
#include "log.h"
3
#include "../logger.h"
4
5
void openssl_err(const char *msg) {
6
const char *err = ERR_error_string(ERR_peek_last_error(), NULL);
7
logger(DEBUG_ALWAYS, LOG_ERR, "OpenSSL error: unable to %s: %s", msg, err);
8
}