libfreerdp-crypto: fix issue #625 (crypto_cert_fingerprint)
This commit is contained in:
parent
fffc6297a0
commit
495aba9a39
@ -316,7 +316,7 @@ char* crypto_cert_fingerprint(X509* xcert)
|
||||
for (i = 0; i < (int) (fp_len - 1); i++)
|
||||
{
|
||||
sprintf(p, "%02x:", fp[i]);
|
||||
p = &fp_buffer[i * 3];
|
||||
p = &fp_buffer[(i + 1) * 3];
|
||||
}
|
||||
sprintf(p, "%02x", fp[i]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user