Skip to content

Commit

Permalink
fix for crash when libcurl is built w/o SSL-support (#74)
Browse files Browse the repository at this point in the history
* tentative fix

* bump version
  • Loading branch information
ptahmose authored Nov 6, 2023
1 parent 8cb7ac3 commit fac8eff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.15)
cmake_policy(SET CMP0091 NEW) # enable new "MSVC runtime library selection" (https://cmake.org/cmake/help/latest/variable/CMAKE_MSVC_RUNTIME_LIBRARY.html)

project(libCZI
VERSION 0.54.1
VERSION 0.54.2
HOMEPAGE_URL "https://github.com/ZEISS/libczi"
DESCRIPTION "libCZI is an Open Source Cross-Platform C++ library to read and write CZI")

Expand Down
2 changes: 1 addition & 1 deletion Src/libCZI/StreamsLib/curlhttpinputstream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ using namespace libCZI;

stringstream string_stream;
string_stream << "Version:" << version_info->version;
string_stream << " SSL:" << version_info->ssl_version;
string_stream << " SSL:" << (version_info->ssl_version != nullptr ? version_info->ssl_version : "none");
if (version_info->age >= CURLVERSION_ELEVENTH)
{
for (size_t i = 0;; ++i)
Expand Down

0 comments on commit fac8eff

Please sign in to comment.