Use CalculateFingerprint256()
This commit is contained in:
parent
db39867ad9
commit
02e89d60f1
1 changed files with 3 additions and 1 deletions
|
@ -50,7 +50,9 @@ v8::Local<v8::Value> Converter<scoped_refptr<net::X509Certificate>>::ToV8(
|
|||
dict.Set("serialNumber", val->serial_number());
|
||||
dict.Set("validStart", val->valid_start().ToDoubleT());
|
||||
dict.Set("validExpiry", val->valid_expiry().ToDoubleT());
|
||||
dict.Set("fingerprint", net::HashValue(val->fingerprint()).ToString());
|
||||
dict.Set("fingerprint",
|
||||
net::HashValue(
|
||||
val->CalculateFingerprint256(val->os_cert_handle())).ToString());
|
||||
|
||||
return dict.GetHandle();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue