Skip to content

Commit

Permalink
Migrate get509() callsite to OpenSSLTransportCert
Browse files Browse the repository at this point in the history
Summary:
Before removing `getX509()` from `AsyncTransportCertificate` we need to migrate
all the callsites to `OpenSSLTransportCertificate`.

Differential Revision: D30487611

fbshipit-source-id: 50deea4904b7b6a6c08c6d4fd0c635a4bc8774cb
  • Loading branch information
Samuel Miller authored and facebook-github-bot committed Nov 30, 2021
1 parent b0d73b7 commit ec52880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion folly/io/async/ssl/BasicTransportCertificate.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class BasicTransportCertificate : public folly::OpenSSLTransportCertificate {
return nullptr;
}
return std::make_unique<BasicTransportCertificate>(
cert->getIdentity(), cert->getX509());
cert->getIdentity(), OpenSSLTransportCertificate::tryExtractX509(cert));
}

BasicTransportCertificate(
Expand Down

0 comments on commit ec52880

Please sign in to comment.