template for engine registry; refs #32

master
Marc Wäckerlin 14 years ago
parent 0870f9e4e4
commit 46192065b6
  1. 4
      swisssurfer/src/smartcardauth.hxx

@ -142,14 +142,14 @@ class SmartCardAuth: public QObject {
private: private:
openssl::RegisterEngine _reg; openssl::RegisterEngine<CryptokiEngine> _reg;
//std::map<ssl_ctx_st*, QSslSocket*> sockets; //std::map<ssl_ctx_st*, QSslSocket*> sockets;
public: public:
void login(bool force=false) { void login(bool force=false) {
QMutexLocker lock(&_mutex); QMutexLocker lock(&_mutex);
if (!e() || (!force && *e())) return; // already logged in if (!e() || (!force && *e())) return; // no smartcard or already logged in
try { try {
QList<CertInfo> authcerts; QList<CertInfo> authcerts;
QList<CertInfo> allcerts; QList<CertInfo> allcerts;

Loading…
Cancel
Save