tests: Use SSH_STRING_FREE_CHAR

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-09-24 18:24:53 +02:00
committed by Andreas Schneider
parent 11d480134c
commit 143b5e2e50
6 changed files with 36 additions and 33 deletions

View File

@@ -533,8 +533,8 @@ static void torture_pki_dsa_duplicate_key(void **state)
ssh_key_free(pubkey);
ssh_key_free(privkey);
ssh_key_free(privkey_dup);
ssh_string_free_char(b64_key);
ssh_string_free_char(b64_key_gen);
SSH_STRING_FREE_CHAR(b64_key);
SSH_STRING_FREE_CHAR(b64_key_gen);
}
static void torture_pki_dsa_generate_key(void **state)