some minor changes; refs #8

This commit is contained in:
Marc Wäckerlin
2011-01-11 11:42:54 +00:00
parent 6846ed0daf
commit a47fae5b7c
4 changed files with 48 additions and 27 deletions

View File

@@ -4,7 +4,9 @@
TEMPLATE = app
TARGET =
DEPENDPATH += .
INCLUDEPATH += ../openssl-act-engine .
INCLUDEPATH += ../openssl-act-engine ../openssl-act-engine/src . ../qt/qt-everywhere-opensource-src-4.6.3/include ../qt/qt-everywhere-opensource-src-4.6.3/include/Qt
CONFIG += debug
# Input
SOURCES += qtssltest.cpp \

View File

@@ -145,7 +145,7 @@ bool SmartCardAuth::hookInitSslContext(SSL_CTX *ctx)
#ifdef USE_CERTIFICATE_FILE
// Load a specific intermediate certificate from a file
//! @todo PEM-File
BIO* cert_file= q_BIO_new_file("D:\\QtSmartCardAuth_TMI\\QtSslTest\\swsign_interm.pem", "r");
BIO* cert_file= q_BIO_new_file("swsign_interm.pem", "r");
X509* interm=q_PEM_read_bio_X509(cert_file,NULL,NULL, NULL);
q_BIO_free(cert_file);