Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:FrontRunner
openwsman.23832
libcurl_fixups.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libcurl_fixups.patch of Package openwsman.23832
Index: openwsman-2.6.7/src/lib/wsman-curl-client-transport.c =================================================================== --- openwsman-2.6.7.orig/src/lib/wsman-curl-client-transport.c +++ openwsman-2.6.7/src/lib/wsman-curl-client-transport.c @@ -186,16 +186,23 @@ convert_to_last_error(CURLcode r) return WS_LASTERR_SSL_CONNECT_ERROR; case CURLE_BAD_FUNCTION_ARGUMENT: return WS_LASTERR_CURL_BAD_FUNCTION_ARG; +#if LIBCURL_VERSION_NUM < 0x073E00 case CURLE_SSL_PEER_CERTIFICATE: return WS_LASTERR_SSL_PEER_CERTIFICATE; +#endif case CURLE_SSL_ENGINE_NOTFOUND: return WS_LASTERR_SSL_ENGINE_NOTFOUND; case CURLE_SSL_ENGINE_SETFAILED: return WS_LASTERR_SSL_ENGINE_SETFAILED; case CURLE_SSL_CERTPROBLEM: return WS_LASTERR_SSL_CERTPROBLEM; +#if LIBCURL_VERSION_NUM < 0x073E00 case CURLE_SSL_CACERT: return WS_LASTERR_SSL_CACERT; +#else + case CURLE_PEER_FAILED_VERIFICATION: + return WS_LASTERR_SSL_PEER_CERTIFICATE; +#endif #if LIBCURL_VERSION_NUM > 0x70C01 case CURLE_SSL_ENGINE_INITFAILED: return WS_LASTERR_SSL_ENGINE_INITFAILED;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor