]> granicus.if.org Git - pdns/commitdiff
Serialize slot correctly
authorAki Tuomi <cmouse@cmouse.fi>
Mon, 19 Oct 2015 13:26:27 +0000 (16:26 +0300)
committerAki Tuomi <cmouse@cmouse.fi>
Tue, 20 Oct 2015 05:29:09 +0000 (08:29 +0300)
pdns/pkcs11signers.cc

index 74622c608e83816ea68d3232b21b0648f5d0bad5..d156166aa5047a40f50e4c7c5198ac1cff6d4d4f 100644 (file)
@@ -932,7 +932,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;