diff options
author | beck <> | 2014-04-17 13:37:50 +0000 |
---|---|---|
committer | beck <> | 2014-04-17 13:37:50 +0000 |
commit | bddb7c686e3d1aeb156722adc64b6c35ae720f87 (patch) | |
tree | 7595a93a27385c367802aa17ecf20f96551cf14d /src/lib/libcrypto/ocsp/ocsp_lib.c | |
parent | ecec66222d758996a4ff2671ca5026d9ede5ef76 (diff) | |
download | openbsd-bddb7c686e3d1aeb156722adc64b6c35ae720f87.tar.gz openbsd-bddb7c686e3d1aeb156722adc64b6c35ae720f87.tar.bz2 openbsd-bddb7c686e3d1aeb156722adc64b6c35ae720f87.zip |
Change library to use intrinsic memory allocation functions instead of
OPENSSL_foo wrappers. This changes:
OPENSSL_malloc->malloc
OPENSSL_free->free
OPENSSL_relloc->realloc
OPENSSL_freeFunc->free
Diffstat (limited to 'src/lib/libcrypto/ocsp/ocsp_lib.c')
-rw-r--r-- | src/lib/libcrypto/ocsp/ocsp_lib.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/ocsp/ocsp_lib.c b/src/lib/libcrypto/ocsp/ocsp_lib.c index a94dc838ee..514cdabf2d 100644 --- a/src/lib/libcrypto/ocsp/ocsp_lib.c +++ b/src/lib/libcrypto/ocsp/ocsp_lib.c | |||
@@ -242,7 +242,7 @@ int OCSP_parse_url(char *url, char **phost, char **pport, char **ppath, int *pss | |||
242 | 242 | ||
243 | if (!*phost) goto mem_err; | 243 | if (!*phost) goto mem_err; |
244 | 244 | ||
245 | OPENSSL_free(buf); | 245 | free(buf); |
246 | 246 | ||
247 | return 1; | 247 | return 1; |
248 | 248 | ||
@@ -255,10 +255,10 @@ int OCSP_parse_url(char *url, char **phost, char **pport, char **ppath, int *pss | |||
255 | 255 | ||
256 | 256 | ||
257 | err: | 257 | err: |
258 | if (buf) OPENSSL_free(buf); | 258 | if (buf) free(buf); |
259 | if (*ppath) OPENSSL_free(*ppath); | 259 | if (*ppath) free(*ppath); |
260 | if (*pport) OPENSSL_free(*pport); | 260 | if (*pport) free(*pport); |
261 | if (*phost) OPENSSL_free(*phost); | 261 | if (*phost) free(*phost); |
262 | return 0; | 262 | return 0; |
263 | 263 | ||
264 | } | 264 | } |