Skip to content

Commit

Permalink
Fixed curl NPN support range
Browse files Browse the repository at this point in the history
  • Loading branch information
COM8 committed Oct 21, 2023
1 parent 5a78cb2 commit c3c544d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/cpr/ssl_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#define SUPPORT_ALPN LIBCURL_VERSION_NUM >= 0x072400 // 7.36.0
#endif
#ifndef SUPPORT_NPN
#define SUPPORT_NPN LIBCURL_VERSION_NUM >= 0x072400 && LIBCURL_VERSION_NUM <= 0x078600 // 7.36.0 - 7.86.0
#define SUPPORT_NPN LIBCURL_VERSION_NUM >= 0x072400 && LIBCURL_VERSION_NUM < 0x075600 // 7.36.0 - 7.85.0
#endif

#ifndef SUPPORT_SSLv2
Expand Down

0 comments on commit c3c544d

Please sign in to comment.