Commit 29dc0aee authored by Oleg Korshul's avatar Oleg Korshul

.

parent d805972d
......@@ -5,6 +5,7 @@
#include <openssl/pkcs12.h>
#include <openssl/sha.h>
#include <openssl/ssl.h>
#include "../../../common/File.h"
......@@ -43,7 +44,7 @@ static time_t ASN1_GetTimeT(ASN1_TIME* time)
return mktime(&t);
}
#if 1
#if 0
int main()
{
std::wstring sFolderW = NSFile::GetProcessDirectory();
......@@ -140,7 +141,7 @@ int main()
}
#endif
#if 0
#if 1
int main(int argc, char **argv)
{
std::wstring sFolderW = NSFile::GetProcessDirectory();
......@@ -157,6 +158,7 @@ int main(int argc, char **argv)
STACK_OF(X509) *ca = NULL;
PKCS12 *p12;
SSL_library_init();
OpenSSL_add_all_algorithms();
ERR_load_crypto_strings();
......
......@@ -18,7 +18,7 @@ DEFINES += XMLSEC_OPENSSL_110
INCLUDEPATH += $$PWD/../../openssl/include
LIBS += -L$$PWD/../../openssl -lcrypto -lssl
LIBS += -L$$PWD/../../openssl -lssl -lcrypto
LIBS += -ldl
SOURCES += main.cpp
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment