tests: use torture_create_temp_file() in torture_knownhosts_parsing

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Anderson Toshiyuki Sasaki
2018-11-19 13:45:36 +01:00
committed by Andreas Schneider
parent 78b1f0ead3
commit 77be4ce905
3 changed files with 15 additions and 21 deletions

View File

@@ -3,7 +3,7 @@
#include "torture.h"
#define LIBSSH_STATIC
const char template[] = "/tmp/temp_file_XXXXXX";
const char template[] = "temp_file_XXXXXX";
static int setup(void **state)
{