diff options
Diffstat (limited to 'modules/haproxy.cpp')
| -rw-r--r-- | modules/haproxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/haproxy.cpp b/modules/haproxy.cpp index 20159b89a..c6eff4a34 100644 --- a/modules/haproxy.cpp +++ b/modules/haproxy.cpp @@ -210,7 +210,7 @@ private: // Create a fake ssl_cert for the user. Ideally we should use the user's // TLS client certificate here but as of 2018-10-16 this is not forwarded // by HAProxy. - auto* cert = new ssl_cert(); + auto cert = std::make_shared<ssl_cert>(); cert->error = "HAProxy does not forward client TLS certificates"; cert->invalid = true; cert->revoked = true; |
