1
0
mirror of https://bitbucket.org/seefoe/src.git synced 2026-01-16 23:04:30 -05:00

hide that we currently only pin for stellabellum.net

This commit is contained in:
DarthArgus
2017-01-11 07:47:23 +00:00
parent 4b297f3b03
commit f2d67f9c57

View File

@@ -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);