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

@@ -24,11 +24,13 @@
#ifndef _TORTURE_KEY_H
#define _TORTURE_KEY_H
#include <stdbool.h>
#define TORTURE_TESTKEY_PASSWORD "libssh-rocks"
const char *torture_get_testkey(enum ssh_keytypes_e type,
int ecdsa_bits,
int with_passphrase);
bool with_passphrase);
const char *torture_get_testkey_passphrase(void);
const char *torture_get_testkey_pub(enum ssh_keytypes_e type, int ecdsa_bits);