Skip to content

Commit

Permalink
FizzClientContext::setClientCertificate() signature change
Browse files Browse the repository at this point in the history
Summary:
- we should be able to do something like:

```
FizzClientContext::setClientCertificate(other.getClientCertificate());
```

Reviewed By: knekritz, sharmafb

Differential Revision: D54093188

fbshipit-source-id: d103554434130020777eb8d6a8c2463e86e1d5f2
  • Loading branch information
hanidamlaj authored and facebook-github-bot committed Feb 24, 2024
1 parent a1a3976 commit 8399de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fizz/client/FizzClientContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class FizzClientContext {
/**
* Sets the certificate to use if the server requests client authentication
*/
void setClientCertificate(std::shared_ptr<SelfCert> cert) {
void setClientCertificate(std::shared_ptr<const SelfCert> cert) {
clientCert_ = std::move(cert);
}

Expand Down

0 comments on commit 8399de0

Please sign in to comment.