Add. Key type flags
This commit is contained in:
parent
bc61143a79
commit
bdacd06639
@ -2084,7 +2084,9 @@ static int lcurl_ssh_key_callback(
|
||||
lua_settop(L, top);
|
||||
|
||||
switch (ret)
|
||||
#if LCURL_CURL_VER_GE(7,73,0)
|
||||
case CURLKHSTAT_FINE_REPLACE:
|
||||
#endif
|
||||
case CURLKHSTAT_FINE_ADD_TO_FILE:
|
||||
case CURLKHSTAT_FINE:
|
||||
case CURLKHSTAT_REJECT:
|
||||
|
@ -11,15 +11,27 @@ FLG_ENTRY(AUTH_NTLM )
|
||||
FLG_ENTRY(AUTH_DIGEST_IE )
|
||||
#endif
|
||||
#if LCURL_CURL_VER_GE(7,19,6)
|
||||
FLG_ENTRY(KHSTAT_FINE_REPLACE )
|
||||
FLG_ENTRY(KHSTAT_FINE_ADD_TO_FILE )
|
||||
FLG_ENTRY(KHSTAT_FINE )
|
||||
FLG_ENTRY(KHSTAT_REJECT )
|
||||
FLG_ENTRY(KHSTAT_DEFER )
|
||||
FLG_ENTRY(KHMATCH_OK )
|
||||
FLG_ENTRY(KHMATCH_MISMATCH )
|
||||
FLG_ENTRY(KHMATCH_OK )
|
||||
FLG_ENTRY(KHMATCH_MISMATCH )
|
||||
FLG_ENTRY(KHMATCH_MISSING )
|
||||
FLG_ENTRY(KHTYPE_RSA1 )
|
||||
FLG_ENTRY(KHTYPE_RSA )
|
||||
FLG_ENTRY(KHTYPE_DSS )
|
||||
FLG_ENTRY(KHTYPE_ECDSA )
|
||||
FLG_ENTRY(KHTYPE_ED25519 )
|
||||
#endif
|
||||
#if LCURL_CURL_VER_GE(7,58,0)
|
||||
FLG_ENTRY(KHTYPE_ECDSA)
|
||||
FLG_ENTRY(KHTYPE_ED25519)
|
||||
#endif
|
||||
#if LCURL_CURL_VER_GE(7,73,0)
|
||||
FLG_ENTRY(KHSTAT_FINE_REPLACE )
|
||||
#endif
|
||||
|
||||
#if LCURL_CURL_VER_GE(7,22,0)
|
||||
FLG_ENTRY(AUTH_NTLM_WB )
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user