diff options
author | 2018-08-16 10:26:34 +0000 | |
---|---|---|
committer | 2018-08-16 10:26:34 +0000 | |
commit | db9d4034fd9ce4e83c6c70e4902373c4a742d6c6 (patch) | |
tree | de801ed8fd83d1f3e6353f54122de392f6b48ca8 | |
parent | Turns out the integration of the GIC-500 on the Rockchip RK3399 is busted. (diff) | |
download | wireguard-openbsd-db9d4034fd9ce4e83c6c70e4902373c4a742d6c6.tar.xz wireguard-openbsd-db9d4034fd9ce4e83c6c70e4902373c4a742d6c6.zip |
Remove unused variable.
From Nan at chinadtrace dot org. Thanks!
-rw-r--r-- | usr.bin/openssl/apps.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/openssl/apps.c b/usr.bin/openssl/apps.c index 90baf65a9f5..55a455069e8 100644 --- a/usr.bin/openssl/apps.c +++ b/usr.bin/openssl/apps.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apps.c,v 1.47 2018/02/07 08:57:25 jsing Exp $ */ +/* $OpenBSD: apps.c,v 1.48 2018/08/16 10:26:34 rob Exp $ */ /* * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> * @@ -2050,12 +2050,10 @@ policies_print(BIO *out, X509_STORE_CTX *ctx) { X509_POLICY_TREE *tree; int explicit_policy; - int free_out = 0; - if (out == NULL) { + if (out == NULL) out = BIO_new_fp(stderr, BIO_NOCLOSE); - free_out = 1; - } + tree = X509_STORE_CTX_get0_policy_tree(ctx); explicit_policy = X509_STORE_CTX_get_explicit_policy(ctx); |