File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -2084,7 +2084,9 @@ static int lcurl_ssh_key_callback(
20842084 lua_settop (L , top );
20852085
20862086 switch (ret )
2087+ #if LCURL_CURL_VER_GE (7 ,73 ,0 )
20872088 case CURLKHSTAT_FINE_REPLACE :
2089+ #endif
20882090 case CURLKHSTAT_FINE_ADD_TO_FILE :
20892091 case CURLKHSTAT_FINE :
20902092 case CURLKHSTAT_REJECT :
Original file line number Diff line number Diff line change @@ -11,15 +11,27 @@ FLG_ENTRY(AUTH_NTLM )
1111FLG_ENTRY (AUTH_DIGEST_IE )
1212#endif
1313#if LCURL_CURL_VER_GE (7 ,19 ,6 )
14- FLG_ENTRY (KHSTAT_FINE_REPLACE )
1514FLG_ENTRY (KHSTAT_FINE_ADD_TO_FILE )
1615FLG_ENTRY (KHSTAT_FINE )
1716FLG_ENTRY (KHSTAT_REJECT )
1817FLG_ENTRY (KHSTAT_DEFER )
19- FLG_ENTRY (KHMATCH_OK )
20- FLG_ENTRY (KHMATCH_MISMATCH )
18+ FLG_ENTRY (KHMATCH_OK )
19+ FLG_ENTRY (KHMATCH_MISMATCH )
2120FLG_ENTRY (KHMATCH_MISSING )
21+ FLG_ENTRY (KHTYPE_RSA1 )
22+ FLG_ENTRY (KHTYPE_RSA )
23+ FLG_ENTRY (KHTYPE_DSS )
24+ FLG_ENTRY (KHTYPE_ECDSA )
25+ FLG_ENTRY (KHTYPE_ED25519 )
26+ #endif
27+ #if LCURL_CURL_VER_GE (7 ,58 ,0 )
28+ FLG_ENTRY (KHTYPE_ECDSA )
29+ FLG_ENTRY (KHTYPE_ED25519 )
30+ #endif
31+ #if LCURL_CURL_VER_GE (7 ,73 ,0 )
32+ FLG_ENTRY (KHSTAT_FINE_REPLACE )
2233#endif
34+
2335#if LCURL_CURL_VER_GE (7 ,22 ,0 )
2436FLG_ENTRY (AUTH_NTLM_WB )
2537#endif
You can’t perform that action at this time.
0 commit comments