diff options
Diffstat (limited to 'src/lib/libcrypto/ocsp/ocsp_lib.c')
-rw-r--r-- | src/lib/libcrypto/ocsp/ocsp_lib.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/ocsp/ocsp_lib.c b/src/lib/libcrypto/ocsp/ocsp_lib.c index e92b86c060..36905d76cd 100644 --- a/src/lib/libcrypto/ocsp/ocsp_lib.c +++ b/src/lib/libcrypto/ocsp/ocsp_lib.c | |||
@@ -170,14 +170,14 @@ int OCSP_parse_url(char *url, char **phost, char **pport, char **ppath, int *pss | |||
170 | 170 | ||
171 | char *host, *port; | 171 | char *host, *port; |
172 | 172 | ||
173 | *phost = NULL; | ||
174 | *pport = NULL; | ||
175 | *ppath = NULL; | ||
176 | |||
177 | /* dup the buffer since we are going to mess with it */ | 173 | /* dup the buffer since we are going to mess with it */ |
178 | buf = BUF_strdup(url); | 174 | buf = BUF_strdup(url); |
179 | if (!buf) goto mem_err; | 175 | if (!buf) goto mem_err; |
180 | 176 | ||
177 | *phost = NULL; | ||
178 | *pport = NULL; | ||
179 | *ppath = NULL; | ||
180 | |||
181 | /* Check for initial colon */ | 181 | /* Check for initial colon */ |
182 | p = strchr(buf, ':'); | 182 | p = strchr(buf, ':'); |
183 | 183 | ||