]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Serialize slot correctly
authorAki Tuomi <cmouse@cmouse.fi>
Mon, 19 Oct 2015 13:26:27 +0000 (16:26 +0300)
committerAndrei Benea <andrei.benea@1and1.ro>
Thu, 29 Oct 2015 14:08:22 +0000 (16:08 +0200)
pdns/pkcs11signers.cc

index d85b0d08e4b297137cffd088feffdd1becf47e25..cde36a4d5a1f23fa7490e99a81e8a00cba6aff25 100644 (file)
@@ -926,7 +926,7 @@ DNSCryptoKeyEngine::storvector_t PKCS11DNSCryptoKeyEngine::convertToISCVector()
   boost::assign::push_back(storvect)
    (make_pair("Algorithm", boost::lexical_cast<std::string>(d_algorithm)))
    (make_pair("Engine", d_module))
-   (make_pair("Slot", boost::lexical_cast<std::string>(d_slot_id)))
+   (make_pair("Slot", d_slot_id))
    (make_pair("PIN", d_pin))
    (make_pair("Label", d_label));
   return storvect;