don't free the RSA*, it seems not to properly clean up old references; refs #82

master
Marc Wäckerlin 14 years ago
parent 96a3f1e4fe
commit 4add551a10
  1. 2
      swisssurfer/src/qmake.pro.in
  2. 3
      swisssurfer/src/smartcardauth.hxx
  3. 48
      swisssurfer/src/swisssurfer_de.ts
  4. 48
      swisssurfer/src/swisssurfer_en.ts
  5. 48
      swisssurfer/src/swisssurfer_fr.ts
  6. 48
      swisssurfer/src/swisssurfer_it.ts

@ -22,7 +22,7 @@ macx {
win32 {
QMAKE_LIBS += -lwinhttp -lgdi32 -lws2_32
QMAKE_LIBS += /opt/local/i586-mingw32msvc/lib/winscard.a
CONFIG += console
CONFIG += console debug
}
ICON = swisssurfer.icns

@ -69,8 +69,7 @@ class CryptokiEngine: public QObject, public openssl::Engine {
RSA* rsa(0);
do {
rsa = ((RSA*)privkey.handle());
RSA_free(rsa); //→ occasional crashes?
rsa = RSA_new_method(_e);
RSA_set_method(rsa, ENGINE_get_RSA(_e));
set(rsa->n, privateKey, CKA_MODULUS, "CKA_MODULUS");
set(rsa->e, privateKey, CKA_PUBLIC_EXPONENT, "CKA_PUBLIC_EXPONENT");
set(rsa->d, privateKey, CKA_PRIVATE_EXPONENT, "CKA_PRIVATE_EXPONENT");

@ -246,98 +246,98 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="443"/>
<location filename="browser.hxx" line="442"/>
<source>Checking: %1</source>
<oldsource>Opening: %1</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="454"/>
<location filename="browser.hxx" line="453"/>
<source>Reading: %1</source>
<oldsource>Reading: %1%</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="469"/>
<location filename="browser.hxx" line="468"/>
<source>Zoom: %1%</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="456"/>
<location filename="browser.hxx" line="455"/>
<source>Illegal URL: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="518"/>
<location filename="browser.hxx" line="517"/>
<source>Print Document</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="539"/>
<location filename="browser.hxx" line="538"/>
<source>%1 - %2</source>
<oldsource>Back to %1 - %2</oldsource>
<comment>statusbar actionBack_hovered %1=url %2=title</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="689"/>
<location filename="browser.hxx" line="688"/>
<source>Info: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="702"/>
<location filename="browser.hxx" line="701"/>
<source>done.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="702"/>
<location filename="browser.hxx" line="701"/>
<source>page load error.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="955"/>
<location filename="browser.hxx" line="954"/>
<source>%1</source>
<comment>statusbar for hovered link %1=url</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="446"/>
<location filename="browser.hxx" line="445"/>
<source>Forbidden: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="132"/>
<location filename="browser.hxx" line="131"/>
<source>SSL Not Supported</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="133"/>
<location filename="browser.hxx" line="132"/>
<source>SSL is not supported on your system</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="447"/>
<location filename="browser.hxx" line="446"/>
<source>Access Denied</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="448"/>
<location filename="browser.hxx" line="447"/>
<source>&lt;p&gt;Access denied due to security considerations.&lt;/p&gt;&lt;p&gt;You are not allowed to connect to %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="558"/>
<location filename="browser.hxx" line="557"/>
<source>%1 - %2</source>
<comment>statusbar actionForward_hovered %1=url %2=title</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="634"/>
<location filename="browser.hxx" line="633"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="635"/>
<location filename="browser.hxx" line="634"/>
<source>SwissSurfer %1 (%2)
%3
@ -351,22 +351,22 @@ Compiled: qt-%5</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="684"/>
<location filename="browser.hxx" line="683"/>
<source>%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1091"/>
<location filename="browser.hxx" line="1090"/>
<source>Save File As ...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1154"/>
<location filename="browser.hxx" line="1153"/>
<source>authentication required</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1166"/>
<location filename="browser.hxx" line="1165"/>
<source>ssl error</source>
<translation type="unfinished"></translation>
</message>
@ -675,12 +675,12 @@ p, li { white-space: pre-wrap; }
<context>
<name>QMessageBox</name>
<message>
<location filename="smartcardauth.hxx" line="217"/>
<location filename="smartcardauth.hxx" line="216"/>
<source>Wrong PIN</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="smartcardauth.hxx" line="218"/>
<location filename="smartcardauth.hxx" line="217"/>
<source>Authentication failed, please try again.</source>
<translation type="unfinished"></translation>
</message>

@ -244,74 +244,74 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="443"/>
<location filename="browser.hxx" line="442"/>
<source>Checking: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="132"/>
<location filename="browser.hxx" line="131"/>
<source>SSL Not Supported</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="133"/>
<location filename="browser.hxx" line="132"/>
<source>SSL is not supported on your system</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="446"/>
<location filename="browser.hxx" line="445"/>
<source>Forbidden: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="447"/>
<location filename="browser.hxx" line="446"/>
<source>Access Denied</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="448"/>
<location filename="browser.hxx" line="447"/>
<source>&lt;p&gt;Access denied due to security considerations.&lt;/p&gt;&lt;p&gt;You are not allowed to connect to %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="454"/>
<location filename="browser.hxx" line="453"/>
<source>Reading: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="456"/>
<location filename="browser.hxx" line="455"/>
<source>Illegal URL: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="469"/>
<location filename="browser.hxx" line="468"/>
<source>Zoom: %1%</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="518"/>
<location filename="browser.hxx" line="517"/>
<source>Print Document</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="539"/>
<location filename="browser.hxx" line="538"/>
<source>%1 - %2</source>
<comment>statusbar actionBack_hovered %1=url %2=title</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="558"/>
<location filename="browser.hxx" line="557"/>
<source>%1 - %2</source>
<comment>statusbar actionForward_hovered %1=url %2=title</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="634"/>
<location filename="browser.hxx" line="633"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="635"/>
<location filename="browser.hxx" line="634"/>
<source>SwissSurfer %1 (%2)
%3
@ -320,43 +320,43 @@ Compiled: qt-%5</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="684"/>
<location filename="browser.hxx" line="683"/>
<source>%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="689"/>
<location filename="browser.hxx" line="688"/>
<source>Info: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="702"/>
<location filename="browser.hxx" line="701"/>
<source>done.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="702"/>
<location filename="browser.hxx" line="701"/>
<source>page load error.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="955"/>
<location filename="browser.hxx" line="954"/>
<source>%1</source>
<comment>statusbar for hovered link %1=url</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1091"/>
<location filename="browser.hxx" line="1090"/>
<source>Save File As ...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1154"/>
<location filename="browser.hxx" line="1153"/>
<source>authentication required</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1166"/>
<location filename="browser.hxx" line="1165"/>
<source>ssl error</source>
<translation type="unfinished"></translation>
</message>
@ -660,12 +660,12 @@ p, li { white-space: pre-wrap; }
<context>
<name>QMessageBox</name>
<message>
<location filename="smartcardauth.hxx" line="217"/>
<location filename="smartcardauth.hxx" line="216"/>
<source>Wrong PIN</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="smartcardauth.hxx" line="218"/>
<location filename="smartcardauth.hxx" line="217"/>
<source>Authentication failed, please try again.</source>
<translation type="unfinished"></translation>
</message>

@ -246,98 +246,98 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="443"/>
<location filename="browser.hxx" line="442"/>
<source>Checking: %1</source>
<oldsource>Opening: %1</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="454"/>
<location filename="browser.hxx" line="453"/>
<source>Reading: %1</source>
<oldsource>Reading: %1%</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="469"/>
<location filename="browser.hxx" line="468"/>
<source>Zoom: %1%</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="456"/>
<location filename="browser.hxx" line="455"/>
<source>Illegal URL: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="518"/>
<location filename="browser.hxx" line="517"/>
<source>Print Document</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="539"/>
<location filename="browser.hxx" line="538"/>
<source>%1 - %2</source>
<oldsource>Back to %1 - %2</oldsource>
<comment>statusbar actionBack_hovered %1=url %2=title</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="689"/>
<location filename="browser.hxx" line="688"/>
<source>Info: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="702"/>
<location filename="browser.hxx" line="701"/>
<source>done.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="702"/>
<location filename="browser.hxx" line="701"/>
<source>page load error.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="955"/>
<location filename="browser.hxx" line="954"/>
<source>%1</source>
<comment>statusbar for hovered link %1=url</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="446"/>
<location filename="browser.hxx" line="445"/>
<source>Forbidden: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="132"/>
<location filename="browser.hxx" line="131"/>
<source>SSL Not Supported</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="133"/>
<location filename="browser.hxx" line="132"/>
<source>SSL is not supported on your system</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="447"/>
<location filename="browser.hxx" line="446"/>
<source>Access Denied</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="448"/>
<location filename="browser.hxx" line="447"/>
<source>&lt;p&gt;Access denied due to security considerations.&lt;/p&gt;&lt;p&gt;You are not allowed to connect to %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="558"/>
<location filename="browser.hxx" line="557"/>
<source>%1 - %2</source>
<comment>statusbar actionForward_hovered %1=url %2=title</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="634"/>
<location filename="browser.hxx" line="633"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="635"/>
<location filename="browser.hxx" line="634"/>
<source>SwissSurfer %1 (%2)
%3
@ -351,22 +351,22 @@ Compiled: qt-%5</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="684"/>
<location filename="browser.hxx" line="683"/>
<source>%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1091"/>
<location filename="browser.hxx" line="1090"/>
<source>Save File As ...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1154"/>
<location filename="browser.hxx" line="1153"/>
<source>authentication required</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1166"/>
<location filename="browser.hxx" line="1165"/>
<source>ssl error</source>
<translation type="unfinished"></translation>
</message>
@ -675,12 +675,12 @@ p, li { white-space: pre-wrap; }
<context>
<name>QMessageBox</name>
<message>
<location filename="smartcardauth.hxx" line="217"/>
<location filename="smartcardauth.hxx" line="216"/>
<source>Wrong PIN</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="smartcardauth.hxx" line="218"/>
<location filename="smartcardauth.hxx" line="217"/>
<source>Authentication failed, please try again.</source>
<translation type="unfinished"></translation>
</message>

@ -246,98 +246,98 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="443"/>
<location filename="browser.hxx" line="442"/>
<source>Checking: %1</source>
<oldsource>Opening: %1</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="454"/>
<location filename="browser.hxx" line="453"/>
<source>Reading: %1</source>
<oldsource>Reading: %1%</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="469"/>
<location filename="browser.hxx" line="468"/>
<source>Zoom: %1%</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="456"/>
<location filename="browser.hxx" line="455"/>
<source>Illegal URL: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="518"/>
<location filename="browser.hxx" line="517"/>
<source>Print Document</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="539"/>
<location filename="browser.hxx" line="538"/>
<source>%1 - %2</source>
<oldsource>Back to %1 - %2</oldsource>
<comment>statusbar actionBack_hovered %1=url %2=title</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="689"/>
<location filename="browser.hxx" line="688"/>
<source>Info: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="702"/>
<location filename="browser.hxx" line="701"/>
<source>done.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="702"/>
<location filename="browser.hxx" line="701"/>
<source>page load error.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="955"/>
<location filename="browser.hxx" line="954"/>
<source>%1</source>
<comment>statusbar for hovered link %1=url</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="446"/>
<location filename="browser.hxx" line="445"/>
<source>Forbidden: %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="132"/>
<location filename="browser.hxx" line="131"/>
<source>SSL Not Supported</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="133"/>
<location filename="browser.hxx" line="132"/>
<source>SSL is not supported on your system</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="447"/>
<location filename="browser.hxx" line="446"/>
<source>Access Denied</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="448"/>
<location filename="browser.hxx" line="447"/>
<source>&lt;p&gt;Access denied due to security considerations.&lt;/p&gt;&lt;p&gt;You are not allowed to connect to %1.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="558"/>
<location filename="browser.hxx" line="557"/>
<source>%1 - %2</source>
<comment>statusbar actionForward_hovered %1=url %2=title</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="634"/>
<location filename="browser.hxx" line="633"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="635"/>
<location filename="browser.hxx" line="634"/>
<source>SwissSurfer %1 (%2)
%3
@ -351,22 +351,22 @@ Compiled: qt-%5</oldsource>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="684"/>
<location filename="browser.hxx" line="683"/>
<source>%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1091"/>
<location filename="browser.hxx" line="1090"/>
<source>Save File As ...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1154"/>
<location filename="browser.hxx" line="1153"/>
<source>authentication required</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="browser.hxx" line="1166"/>
<location filename="browser.hxx" line="1165"/>
<source>ssl error</source>
<translation type="unfinished"></translation>
</message>
@ -675,12 +675,12 @@ p, li { white-space: pre-wrap; }
<context>
<name>QMessageBox</name>
<message>
<location filename="smartcardauth.hxx" line="217"/>
<location filename="smartcardauth.hxx" line="216"/>
<source>Wrong PIN</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="smartcardauth.hxx" line="218"/>
<location filename="smartcardauth.hxx" line="217"/>
<source>Authentication failed, please try again.</source>
<translation type="unfinished"></translation>
</message>

Loading…
Cancel
Save