crypto: fix fingerprint
Latest logging changes introduced a problem with fingerprint generation. The last byte wasn't added.
This commit is contained in:
parent
2f6575a7e6
commit
e5e1a75c35
@ -355,7 +355,7 @@ char* crypto_cert_fingerprint(X509* xcert)
|
||||
sprintf(p, "%02x:", fp[i]);
|
||||
p = &fp_buffer[(i + 1) * 3];
|
||||
}
|
||||
DEBUG_MSG(p, "%02x", fp[i]);
|
||||
sprintf(p, "%02x", fp[i]);
|
||||
|
||||
return fp_buffer;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user