Skip to content

Commit

Permalink
fix non-openssl cert interface
Browse files Browse the repository at this point in the history
Summary:
- fix destructor
- remove `getIdentity()` from non-openssl Cert interface

Reviewed By: mingtaoy

Differential Revision: D64067934

fbshipit-source-id: 34f700dc0ccd671456601d6886490ab7ea408487
  • Loading branch information
Zale Young authored and facebook-github-bot committed Oct 10, 2024
1 parent ebda84f commit 17aa6ca
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fizz/protocol/Certificate.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ using IdentityCertBase = Cert;

#else
namespace fizz {
struct Cert {
virtual ~Cert();
class Cert {
public:
virtual ~Cert() = default;
virtual std::string getIdentity() const = 0;
};

Expand Down

0 comments on commit 17aa6ca

Please sign in to comment.