]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - pdns/gss_context.cc
Merge pull request #14240 from PowerDNS/dependabot/pip/pdns/dnsdistdist/docs/requests...
[thirdparty/pdns.git] / pdns / gss_context.cc
index 4d5b7e7412afedb3fc86509bbfd6fdd75fd03ca1..1297356a0ae4e02ecf56c002c3c278bd86e96e68 100644 (file)
@@ -143,7 +143,7 @@ public:
     if (!cred->valid()) {
       throw PDNSException("Invalid credential " + cred->d_nameS);
     }
-    d_cred = cred;
+    d_cred = std::move(cred);
   }
 
   ~GssSecContext()
@@ -556,7 +556,7 @@ bool gss_add_signature(const DNSName& context, const std::string& message, std::
     }
     return false;
   }
-  mac = tmp_mac;
+  mac = std::move(tmp_mac);
   return true;
 }