X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fgcrypt%2Fdigest.c;h=a845afa16ec8ca46d96abeef503cfa0e8b9d5e2c;hb=8ac096b5bf9da1b3961a3ac4a03d083629222a63;hp=066600f9b1c18b966a1534be1ae855739a9226ee;hpb=a1bd3a291379492c8ffecd53792065dc20a28c79;p=meshlink diff --git a/src/gcrypt/digest.c b/src/gcrypt/digest.c index 066600f9..a845afa1 100644 --- a/src/gcrypt/digest.c +++ b/src/gcrypt/digest.c @@ -75,7 +75,7 @@ static bool digesttonid(int algo, int *nid) { static bool digest_open(digest_t *digest, int algo, int maclength) { if(!digesttonid(algo, &digest->nid)) { - logger(LOG_DEBUG, "Digest %d has no corresponding nid!", algo); + logger(DEBUG_ALWAYS, LOG_DEBUG, "Digest %d has no corresponding nid!", algo); return false; } @@ -96,7 +96,7 @@ bool digest_open_by_name(digest_t *digest, const char *name, int maclength) { int algo; if(!nametodigest(name, &algo)) { - logger(LOG_DEBUG, "Unknown digest name '%s'!", name); + logger(DEBUG_ALWAYS, LOG_DEBUG, "Unknown digest name '%s'!", name); return false; } @@ -107,7 +107,7 @@ bool digest_open_by_nid(digest_t *digest, int nid, int maclength) { int algo; if(!nidtodigest(nid, &algo)) { - logger(LOG_DEBUG, "Unknown digest ID %d!", nid); + logger(DEBUG_ALWAYS, LOG_DEBUG, "Unknown digest ID %d!", nid); return false; }