refs #22
This commit is contained in:
@@ -17,6 +17,9 @@ QMAKE_TARGET = @PACKAGENAME@
|
||||
|
||||
TARGETS = ${QMAKE_TARGET}
|
||||
|
||||
EXTRA_SCRIPTS= swisssurfer
|
||||
bin_SCRIPTS = ${EXTRA_SCRIPTS}
|
||||
|
||||
if BUILD_WIN
|
||||
QMAKE_MAKEFILE_WIN = makefile.win.qmake
|
||||
QMAKE_OPTIONS_WIN = ${QMAKE_OPTIONS} -win32 -spec cross-mingw-g++
|
||||
|
||||
@@ -58,6 +58,7 @@ SmartCardAuth::~SmartCardAuth() {
|
||||
std::map<ssl_ctx_st*, QSslSocket*> sockets;
|
||||
|
||||
int client_cert_cb(SSL* ssl, X509 **x509, EVP_PKEY **pkey) {
|
||||
if (!e) return 0;
|
||||
static std::set<QString> allowedUrls;
|
||||
std::map<ssl_ctx_st*, QSslSocket*>::iterator it(sockets.find(ssl->ctx));
|
||||
if (it!=sockets.end()) {
|
||||
@@ -153,6 +154,7 @@ int client_cert_cb(SSL* ssl, X509 **x509, EVP_PKEY **pkey) {
|
||||
void SmartCardAuth::extendedContextInitialization(ssl_ctx_st *ctx,
|
||||
QSslSocket *socket)
|
||||
{
|
||||
if (!e) return;
|
||||
bool result = false;
|
||||
|
||||
if(!certs_found)
|
||||
|
||||
@@ -505,12 +505,12 @@ Try: %1 --help</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="smartcardauth.cxx" line="65"/>
|
||||
<location filename="smartcardauth.cxx" line="66"/>
|
||||
<source>Send Authentication?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="smartcardauth.cxx" line="66"/>
|
||||
<location filename="smartcardauth.cxx" line="67"/>
|
||||
<source>Do you want to authenticate yourself to %1?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
||||
@@ -505,12 +505,12 @@ Try: %1 --help</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="smartcardauth.cxx" line="65"/>
|
||||
<location filename="smartcardauth.cxx" line="66"/>
|
||||
<source>Send Authentication?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="smartcardauth.cxx" line="66"/>
|
||||
<location filename="smartcardauth.cxx" line="67"/>
|
||||
<source>Do you want to authenticate yourself to %1?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
||||
@@ -505,12 +505,12 @@ Try: %1 --help</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="smartcardauth.cxx" line="65"/>
|
||||
<location filename="smartcardauth.cxx" line="66"/>
|
||||
<source>Send Authentication?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="smartcardauth.cxx" line="66"/>
|
||||
<location filename="smartcardauth.cxx" line="67"/>
|
||||
<source>Do you want to authenticate yourself to %1?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
||||
@@ -505,12 +505,12 @@ Try: %1 --help</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="smartcardauth.cxx" line="65"/>
|
||||
<location filename="smartcardauth.cxx" line="66"/>
|
||||
<source>Send Authentication?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="smartcardauth.cxx" line="66"/>
|
||||
<location filename="smartcardauth.cxx" line="67"/>
|
||||
<source>Do you want to authenticate yourself to %1?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
||||
Reference in New Issue
Block a user