Skip to content

Commit

Permalink
Maintenance: remove openssl-ism in Certificate acl (#1486)
Browse files Browse the repository at this point in the history
When GnuTLS support was introduced, the class definitions
for Certificate and CertificateData were not updated to
use the generic Security names.
  • Loading branch information
kinkie authored and squid-anubis committed Oct 1, 2023
1 parent 7c8d6c4 commit 0ea5bb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/acl/Certificate.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace Acl
{

/// a "user_cert" or "ca_cert" ACL
class ClientCertificateCheck: public ParameterizedNode< ACLData<X509 *> >
class ClientCertificateCheck: public ParameterizedNode< ACLData<Security::Certificate *> >
{
public:
/* ACL API */
Expand Down
2 changes: 1 addition & 1 deletion src/acl/ServerCertificate.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace Acl
{

/// a "server_cert_fingerprint" ACL
class ServerCertificateCheck: public ParameterizedNode< ACLData<X509 *> >
class ServerCertificateCheck: public ParameterizedNode< ACLData<Security::Certificate *> >
{
public:
/* ACL API */
Expand Down

0 comments on commit 0ea5bb0

Please sign in to comment.