Skip to content

Commit

Permalink
crypto: remove node::crypto::CheckResult
Browse files Browse the repository at this point in the history
PR-URL: #23225
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
  • Loading branch information
tniessen authored and danbev committed Oct 8, 2018
1 parent 8d218a9 commit 1c75ec2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/node_crypto.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,6 @@ using ECPointPointer = DeleteFnPtr<EC_POINT, EC_POINT_free>;
using ECKeyPointer = DeleteFnPtr<EC_KEY, EC_KEY_free>;
using DHPointer = DeleteFnPtr<DH, DH_free>;

enum CheckResult {
CHECK_CERT_REVOKED = 0,
CHECK_OK = 1
};

extern int VerifyCallback(int preverify_ok, X509_STORE_CTX* ctx);

extern void UseExtraCaCerts(const std::string& file);
Expand Down

0 comments on commit 1c75ec2

Please sign in to comment.