From bddb7c686e3d1aeb156722adc64b6c35ae720f87 Mon Sep 17 00:00:00 2001 From: beck <> Date: Thu, 17 Apr 2014 13:37:50 +0000 Subject: 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 --- src/lib/libcrypto/x509/x509_obj.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libcrypto/x509/x509_obj.c') diff --git a/src/lib/libcrypto/x509/x509_obj.c b/src/lib/libcrypto/x509/x509_obj.c index 1d3cf547d7..5f38315f22 100644 --- a/src/lib/libcrypto/x509/x509_obj.c +++ b/src/lib/libcrypto/x509/x509_obj.c @@ -88,7 +88,7 @@ int i; if(b) { buf=b->data; - OPENSSL_free(b); + free(b); } strlcpy(buf,"NO X509_NAME",len); return buf; @@ -170,7 +170,7 @@ int i; if (b != NULL) { p=b->data; - OPENSSL_free(b); + free(b); } else p=buf; -- cgit v1.2.3-55-g6feb