]> granicus.if.org Git - pdns/commitdiff
Remove lock where it does not belong
authorAki Tuomi <cmouse@cmouse.fi>
Sat, 8 Aug 2015 17:28:16 +0000 (20:28 +0300)
committerAki Tuomi <cmouse@cmouse.fi>
Sat, 8 Aug 2015 17:28:16 +0000 (20:28 +0300)
pdns/pkcs11signers.cc

index b11c14946b447de3e721298e6e3867c49ebcf7ba..e16c2739773ad481f7048423832b27d1074a618b 100644 (file)
@@ -688,7 +688,6 @@ Pkcs11Token::Pkcs11Token(const std::shared_ptr<Pkcs11Slot>& slot, const std::str
   this->d_label = label;
   this->d_err = 0;
   this->d_loaded = false;
-  Lock l(d_slot->m());
   if (this->d_slot->LoggedIn()) LoadAttributes();
 }