diff options
Diffstat (limited to '')
| -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 | ||
