diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2017-05-06 21:21:01 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2017-05-06 21:21:01 +0000 |
commit | 5fa702dd15eb14fea5f5f90fa788c0bbcaadddd5 (patch) | |
tree | 926f0a6e49e57d475467111752bf3c4ded65740a /regress/lib/libcrypto | |
parent | 9cd361e63dd800c05cc19e3ce11bb9f62d57b967 (diff) |
Not much point using a failed variable here.
Diffstat (limited to 'regress/lib/libcrypto')
-rw-r--r-- | regress/lib/libcrypto/free/freenull.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/regress/lib/libcrypto/free/freenull.c b/regress/lib/libcrypto/free/freenull.c index 8a3cd5de29d..0f37f0725ff 100644 --- a/regress/lib/libcrypto/free/freenull.c +++ b/regress/lib/libcrypto/free/freenull.c @@ -1,4 +1,4 @@ -/* $OpenBSD: freenull.c,v 1.1 2017/05/02 04:03:06 beck Exp $ */ +/* $OpenBSD: freenull.c,v 1.2 2017/05/06 21:21:00 jsing Exp $ */ /* * Copyright (c) 2017 Bob Beck <beck@openbsd.org> * @@ -27,7 +27,6 @@ int main(int argc, char **argv) { - int failed = 0; ASN1_OBJECT_free(NULL); ASN1_INTEGER_free(NULL); ASN1_OCTET_STRING_free(NULL); @@ -38,6 +37,8 @@ main(int argc, char **argv) GENERAL_NAME_free(NULL); sk_GENERAL_NAME_pop_free(NULL, GENERAL_NAME_free); sk_X509_NAME_ENTRY_pop_free(NULL, X509_NAME_ENTRY_free); + printf("PASS\n"); - return (failed); + + return (0); } |