| Index: p2p/base/transportdescriptionfactory.cc
|
| diff --git a/p2p/base/transportdescriptionfactory.cc b/p2p/base/transportdescriptionfactory.cc
|
| index 78fbf541d12bd89c874f22f5da13bd4a060bfa90..69663c4eb5a5fa2cd8695b6d113b4eb411987a93 100644
|
| --- a/p2p/base/transportdescriptionfactory.cc
|
| +++ b/p2p/base/transportdescriptionfactory.cc
|
| @@ -119,20 +119,6 @@ bool TransportDescriptionFactory::SetSecurityInfo(
|
| if (!desc->identity_fingerprint) {
|
| return false;
|
| }
|
| - std::string digest_alg;
|
| - if (!certificate_->ssl_certificate().GetSignatureDigestAlgorithm(
|
| - &digest_alg)) {
|
| - LOG(LS_ERROR) << "Failed to retrieve the certificate's digest algorithm";
|
| - return false;
|
| - }
|
| -
|
| - desc->identity_fingerprint.reset(
|
| - rtc::SSLFingerprint::Create(digest_alg, certificate_->identity()));
|
| - if (!desc->identity_fingerprint.get()) {
|
| - LOG(LS_ERROR) << "Failed to create identity fingerprint, alg="
|
| - << digest_alg;
|
| - return false;
|
| - }
|
|
|
| // Assign security role.
|
| desc->connection_role = role;
|
|
|