mirror of
https://github.com/SWG-Source/src.git
synced 2026-01-17 00:04:25 -05:00
hide that we currently only pin for stellabellum.net
This commit is contained in:
2
external/3rd/library/webAPI/webAPI.cpp
vendored
2
external/3rd/library/webAPI/webAPI.cpp
vendored
@@ -133,7 +133,7 @@ bool webAPI::fetch(const int &getPost, const int &mimeType) // 0 for json 1 for
|
||||
// want to do a put, or whatever other type? feel free to add here
|
||||
}
|
||||
|
||||
if (uri.find("stellabellum") != std::string::npos) {
|
||||
if (uri.find(vxENCRYPT("stellabellum").decrypt()) != std::string::npos) {
|
||||
// the public one will verify but since this is pinned we don't care about the CA
|
||||
res = curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user