From f2d67f9c571596028b9ecddf3f512c82f12b7a7f Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Wed, 11 Jan 2017 07:47:23 +0000 Subject: [PATCH] hide that we currently only pin for stellabellum.net --- external/3rd/library/webAPI/webAPI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/3rd/library/webAPI/webAPI.cpp b/external/3rd/library/webAPI/webAPI.cpp index 155e3434..0e6516af 100644 --- a/external/3rd/library/webAPI/webAPI.cpp +++ b/external/3rd/library/webAPI/webAPI.cpp @@ -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);