1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-07-31 00:03:07 +03:00

tests: Use stdbool for with_passphrase argument

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Jakub Jelen
2018-09-11 14:56:32 +02:00
committed by Andreas Schneider
parent c04eac40f3
commit 03a66b8599
2 changed files with 5 additions and 3 deletions

View File

@ -307,7 +307,7 @@ static const char torture_ed25519_public_testkey[] =
static const char *torture_get_testkey_internal(enum ssh_keytypes_e type,
int bits,
int with_passphrase,
bool with_passphrase,
int pubkey)
{
switch (type) {
@ -369,7 +369,7 @@ static const char *torture_get_testkey_internal(enum ssh_keytypes_e type,
const char *torture_get_testkey(enum ssh_keytypes_e type,
int ecda_bits,
int with_passphrase)
bool with_passphrase)
{
return torture_get_testkey_internal(type, ecda_bits, with_passphrase, 0);
}