From 02e89d60f1c5f9c1daa445e2646de472a5da8024 Mon Sep 17 00:00:00 2001 From: Anthony Tseng Date: Thu, 14 Jul 2016 19:09:11 +0800 Subject: [PATCH] Use CalculateFingerprint256() --- atom/common/native_mate_converters/net_converter.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/atom/common/native_mate_converters/net_converter.cc b/atom/common/native_mate_converters/net_converter.cc index 9fedfdf2af3..b88efbae004 100644 --- a/atom/common/native_mate_converters/net_converter.cc +++ b/atom/common/native_mate_converters/net_converter.cc @@ -50,7 +50,9 @@ v8::Local Converter>::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(); }