Skip to content

Commit 37a0669

Browse files
Fix condition for certificate logs (#1503)
Wrong order of conditions was used Relates-To: OLPEDGE-2879 Signed-off-by: Andrey Kashcheev <ext-andrey.kashcheev@here.com>
1 parent ec3441a commit 37a0669

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

olp-cpp-sdk-core/src/http/curl/NetworkCurl.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,13 +331,13 @@ NetworkCurl::NetworkCurl(NetworkInitializationSettings settings)
331331
#endif
332332

333333
std::string ca_bundle_path;
334-
#ifdef OLP_SDK_NETWORK_HAS_OPENSSL
334+
#ifdef OLP_SDK_ENABLE_ANDROID_CURL
335+
ca_bundle_path = kCurlAndroidCaBundleFolder;
336+
#elif OLP_SDK_NETWORK_HAS_OPENSSL
335337
ca_bundle_path = CaBundlePath();
336338
if (ca_bundle_path.empty()) {
337339
ca_bundle_path = "<empty>";
338340
}
339-
#else
340-
ca_bundle_path = "<empty>";
341341
#endif
342342

343343
OLP_SDK_LOG_INFO_F(kLogTag,

0 commit comments

Comments
 (0)