projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a2ba20
)
Fix use of -no-proxy option of CMP app
author
Dr. David von Oheimb
<David.von.Oheimb@siemens.com>
Tue, 26 May 2020 06:35:33 +0000
(08:35 +0200)
committer
Dr. David von Oheimb
<David.von.Oheimb@siemens.com>
Sat, 13 Jun 2020 13:13:21 +0000
(15:13 +0200)
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11998)
apps/cmp.c
patch
|
blob
|
history
diff --git
a/apps/cmp.c
b/apps/cmp.c
index a229485d6660e9f63484cee9c63def5fa86723ca..4fe0ddc7a73fe29ad97e89e7747bcf89947961b4 100644
(file)
--- a/
apps/cmp.c
+++ b/
apps/cmp.c
@@
-2097,6
+2097,8
@@
static int setup_client_ctx(OSSL_CMP_CTX *ctx, ENGINE *e)
goto oom;
if (opt_proxy != NULL && !OSSL_CMP_CTX_set1_proxy(ctx, opt_proxy))
goto oom;
+ if (opt_no_proxy != NULL && !OSSL_CMP_CTX_set1_no_proxy(ctx, opt_no_proxy))
+ goto oom;
(void)BIO_snprintf(server_buf, sizeof(server_buf), "http%s://%s%s%s/%s",
opt_tls_used ? "s" : "", opt_server,
server_port == 0 ? "" : ":", server_port_s,