diff options
author | rob <> | 2018-08-16 10:26:34 +0000 |
---|---|---|
committer | rob <> | 2018-08-16 10:26:34 +0000 |
commit | ff5b3b75f63a902dacd71ce3cc21af844f1797c4 (patch) | |
tree | f970da952d5d877975d0d2bb3445a0b680fe984b /src/usr.bin | |
parent | 064f9b1e7b63f56689f56c0c9bb54b684d63ada6 (diff) | |
download | openbsd-ff5b3b75f63a902dacd71ce3cc21af844f1797c4.tar.gz openbsd-ff5b3b75f63a902dacd71ce3cc21af844f1797c4.tar.bz2 openbsd-ff5b3b75f63a902dacd71ce3cc21af844f1797c4.zip |
Remove unused variable.
From Nan at chinadtrace dot org. Thanks!
Diffstat (limited to 'src/usr.bin')
-rw-r--r-- | src/usr.bin/openssl/apps.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/usr.bin/openssl/apps.c b/src/usr.bin/openssl/apps.c index 90baf65a9f..55a455069e 100644 --- a/src/usr.bin/openssl/apps.c +++ b/src/usr.bin/openssl/apps.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: apps.c,v 1.47 2018/02/07 08:57:25 jsing Exp $ */ | 1 | /* $OpenBSD: apps.c,v 1.48 2018/08/16 10:26:34 rob Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -2050,12 +2050,10 @@ policies_print(BIO *out, X509_STORE_CTX *ctx) | |||
2050 | { | 2050 | { |
2051 | X509_POLICY_TREE *tree; | 2051 | X509_POLICY_TREE *tree; |
2052 | int explicit_policy; | 2052 | int explicit_policy; |
2053 | int free_out = 0; | ||
2054 | 2053 | ||
2055 | if (out == NULL) { | 2054 | if (out == NULL) |
2056 | out = BIO_new_fp(stderr, BIO_NOCLOSE); | 2055 | out = BIO_new_fp(stderr, BIO_NOCLOSE); |
2057 | free_out = 1; | 2056 | |
2058 | } | ||
2059 | tree = X509_STORE_CTX_get0_policy_tree(ctx); | 2057 | tree = X509_STORE_CTX_get0_policy_tree(ctx); |
2060 | explicit_policy = X509_STORE_CTX_get_explicit_policy(ctx); | 2058 | explicit_policy = X509_STORE_CTX_get_explicit_policy(ctx); |
2061 | 2059 | ||