diff options
Diffstat (limited to 'checks/x509.cpp')
-rw-r--r-- | checks/x509.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checks/x509.cpp b/checks/x509.cpp index 69dd29492..0cd2b8045 100644 --- a/checks/x509.cpp +++ b/checks/x509.cpp @@ -34,7 +34,7 @@ namespace { u64bit key_id(const Public_Key* key) { - std::auto_ptr<X509_Encoder> encoder(key->x509_encoder()); + std::unique_ptr<X509_Encoder> encoder(key->x509_encoder()); if(!encoder.get()) throw Internal_Error("Public_Key:key_id: No encoder found"); |