Skip to content

Commit

Permalink
Added OpenSSL 1.1.1j to build
Browse files Browse the repository at this point in the history
  • Loading branch information
testpushpleaseignore committed Nov 14, 2021
1 parent 79aa873 commit ce3c73b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion acquisition.pro
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

include(deps/QsLog/QsLog.pri)

INCLUDEPATH += src deps deps/boost-header-only
INCLUDEPATH += src deps deps/boost-header-only "C:\Qt\Tools\OpenSSL\Win_x64\include"

SOURCES += \
deps/sqlite/sqlite3.c \
Expand Down
4 changes: 3 additions & 1 deletion src/logindialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
#include "util.h"
#include "version.h"

#include "openssl/aes.h"

const char* POE_LEAGUE_LIST_URL = "http://api.pathofexile.com/leagues?type=main&compact=1";
const char* POE_LOGIN_URL = "https://www.pathofexile.com/login";
const char* POE_MAIN_PAGE = "https://www.pathofexile.com/";
Expand Down Expand Up @@ -234,7 +236,7 @@ void LoginDialog::OnLoginPageFinished() {

void LoginDialog::FinishLogin(QNetworkReply *reply) {
QList<QNetworkCookie> cookies = reply->manager()->cookieJar()->cookiesForUrl(QUrl(POE_MAIN_PAGE));
for (auto &cookie : cookies)
for (QNetworkCookie &cookie : cookies)
if (QString(cookie.name()) == POE_COOKIE_NAME)
session_id_ = cookie.value();

Expand Down

0 comments on commit ce3c73b

Please sign in to comment.