diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-09-03 13:32:56 +0200 |
---|---|---|
committer | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-09-08 15:36:24 +0200 |
commit | d7fcee3b3b5fae674f107c736f8d53610212ce4e (patch) | |
tree | b70c2afaf2fc49d5bd36102385584b3d0c72ae66 /apps/ocsp.c | |
parent | 8d6481f532ab8c502de2ad17e09f688abb675a71 (diff) |
OSSL_HTTP_parse_url(): add optional port number return parameter and strengthen documentation
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12786)
Diffstat (limited to 'apps/ocsp.c')
-rw-r--r-- | apps/ocsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/ocsp.c b/apps/ocsp.c index 8fb605e6fe..0aca4b7622 100644 --- a/apps/ocsp.c +++ b/apps/ocsp.c @@ -275,7 +275,7 @@ int ocsp_main(int argc, char **argv) OPENSSL_free(tpath); thost = tport = tpath = NULL; if (!OSSL_HTTP_parse_url(opt_arg(), - &host, &port, &path, &use_ssl)) { + &host, &port, NULL, &path, &use_ssl)) { BIO_printf(bio_err, "%s Error parsing URL\n", prog); goto end; } |