mirror of
https://github.com/clearml/dropbear
synced 2025-02-11 23:23:30 +00:00
Fix build warning with DEBUG_TRACE
TRACE() code only gets used above DROPBEAR_VERBOSE_LEVEL
This commit is contained in:
parent
0292aacdf0
commit
46106f71ab
@ -587,7 +587,7 @@ void buf_put_sign(buffer* buf, sign_key *key, enum signature_type sigtype,
|
|||||||
buffer *sigblob = buf_new(MAX_PUBKEY_SIZE);
|
buffer *sigblob = buf_new(MAX_PUBKEY_SIZE);
|
||||||
enum signkey_type keytype = signkey_type_from_signature(sigtype);
|
enum signkey_type keytype = signkey_type_from_signature(sigtype);
|
||||||
|
|
||||||
#if DEBUG_TRACE
|
#if DEBUG_TRACE > DROPBEAR_VERBOSE_LEVEL
|
||||||
{
|
{
|
||||||
const char* signame = signature_name_from_type(sigtype, NULL);
|
const char* signame = signature_name_from_type(sigtype, NULL);
|
||||||
TRACE(("buf_put_sign type %d %s", sigtype, signame));
|
TRACE(("buf_put_sign type %d %s", sigtype, signame));
|
||||||
|
Loading…
Reference in New Issue
Block a user