aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ocsp/ocsp_lib.c
diff options
context:
space:
mode:
authorAlessandro Ghedini <alessandro@ghedini.me>2015-10-08 22:00:27 +0200
committerRichard Levitte <levitte@openssl.org>2015-10-23 19:52:08 +0200
commit070c23325af4526c9a8532a60d63522c58d5554b (patch)
tree91a589786247ff47da757a51294768b1fe888b24 /crypto/ocsp/ocsp_lib.c
parent8cf9d71a3a43d9b98a8a278d47dc08088a954a7b (diff)
downloadopenssl-070c23325af4526c9a8532a60d63522c58d5554b.tar.gz
Remove useless code
RT#4081 Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/ocsp/ocsp_lib.c')
-rw-r--r--crypto/ocsp/ocsp_lib.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/crypto/ocsp/ocsp_lib.c b/crypto/ocsp/ocsp_lib.c
index 012019473e..978429411f 100644
--- a/crypto/ocsp/ocsp_lib.c
+++ b/crypto/ocsp/ocsp_lib.c
@@ -242,12 +242,6 @@ int OCSP_parse_url(const char *url, char **phost, char **pport, char **ppath,
if ((p = strchr(p, ':'))) {
*p = 0;
port = p + 1;
- } else {
- /* Not found: set default port */
- if (*pssl)
- port = "443";
- else
- port = "80";
}
*pport = BUF_strdup(port);