mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-07-31 00:03:07 +03:00
Deprecate SSH_BIND_OPTIONS_{RSA,ECDSA}KEY in favor of generic HOSTKEY
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Norbert Pocs <npocs@redhat.com>
This commit is contained in:
@ -1802,7 +1802,7 @@ static void torture_bind_options_rsakey(void **state)
|
||||
bind = test_state->bind;
|
||||
|
||||
rc = ssh_bind_options_set(bind,
|
||||
SSH_BIND_OPTIONS_RSAKEY,
|
||||
SSH_BIND_OPTIONS_HOSTKEY,
|
||||
LIBSSH_RSA_TESTKEY);
|
||||
assert_int_equal(rc, 0);
|
||||
assert_non_null(bind->rsakey);
|
||||
@ -1823,7 +1823,7 @@ static void torture_bind_options_ecdsakey(void **state)
|
||||
bind = test_state->bind;
|
||||
|
||||
rc = ssh_bind_options_set(bind,
|
||||
SSH_BIND_OPTIONS_ECDSAKEY,
|
||||
SSH_BIND_OPTIONS_HOSTKEY,
|
||||
LIBSSH_ECDSA_521_TESTKEY);
|
||||
assert_int_equal(rc, 0);
|
||||
assert_non_null(bind->ecdsakey);
|
||||
|
Reference in New Issue
Block a user