mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-07 10:40:28 +09:00
libcrypto.c: Change function parameter name
"new" is a c++ keyword which will make the build fail. Signed-off-by: Norbert Pocs <npocs@redhat.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
committed by
Jakub Jelen
parent
9d429eda93
commit
23cebfadea
@@ -1564,19 +1564,19 @@ static int evp_dup_pkey(const char* name, const ssh_key key, int demote,
|
||||
return SSH_OK;
|
||||
}
|
||||
|
||||
int evp_dup_dsa_pkey(const ssh_key key, ssh_key new, int demote)
|
||||
int evp_dup_dsa_pkey(const ssh_key key, ssh_key new_key, int demote)
|
||||
{
|
||||
return evp_dup_pkey("DSA", key, demote, new);
|
||||
return evp_dup_pkey("DSA", key, demote, new_key);
|
||||
}
|
||||
|
||||
int evp_dup_rsa_pkey(const ssh_key key, ssh_key new, int demote)
|
||||
int evp_dup_rsa_pkey(const ssh_key key, ssh_key new_key, int demote)
|
||||
{
|
||||
return evp_dup_pkey("RSA", key, demote, new);
|
||||
return evp_dup_pkey("RSA", key, demote, new_key);
|
||||
}
|
||||
|
||||
int evp_dup_ecdsa_pkey(const ssh_key key, ssh_key new, int demote)
|
||||
int evp_dup_ecdsa_pkey(const ssh_key key, ssh_key new_key, int demote)
|
||||
{
|
||||
return evp_dup_pkey("EC", key, demote, new);
|
||||
return evp_dup_pkey("EC", key, demote, new_key);
|
||||
}
|
||||
#endif /* OPENSSL_VERSION_NUMBER */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user