diff options
Diffstat (limited to 'src/test/test_keypin.c')
-rw-r--r-- | src/test/test_keypin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test_keypin.c b/src/test/test_keypin.c index ee87a55a3f..50639efb1a 100644 --- a/src/test/test_keypin.c +++ b/src/test/test_keypin.c @@ -37,19 +37,19 @@ test_keypin_parse_line(void *arg) ent = keypin_parse_journal_line( "aGVyZSBpcyBhIGdvb2Qgc2hhMSE?" "VGhpcyBlZDI1NTE5IHNjb2ZmcyBhdCB0aGUgc2hhMS4"); - tt_assert(! ent); + tt_ptr_op(ent, OP_EQ, NULL); /* Bad line: bad base64 in RSA ID */ ent = keypin_parse_journal_line( "aGVyZSBpcyBhIGdv!2Qgc2hhMSE " "VGhpcyBlZDI1NTE5IHNjb2ZmcyBhdCB0aGUgc2hhMS4"); - tt_assert(! ent); + tt_ptr_op(ent, OP_EQ, NULL); /* Bad line: bad base64 in Ed25519 */ ent = keypin_parse_journal_line( "aGVyZSBpcyBhIGdvb2Qgc2hhMSE " "VGhpcyBlZDI1NTE5IHNjb2ZmcyB!dCB0aGUgc2hhMS4"); - tt_assert(! ent); + tt_ptr_op(ent, OP_EQ, NULL); done: tor_free(ent); |