From 145f87fde2b6a069637fb346d6a9d0fc50c120fb Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sat, 7 Feb 2015 22:30:26 +0000 Subject: Don't leak addresses in error messages. --- lib/libcrypto/asn1/asn1_lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/libcrypto/asn1/asn1_lib.c b/lib/libcrypto/asn1/asn1_lib.c index 46de52a0508..7a11fa9cbcb 100644 --- a/lib/libcrypto/asn1/asn1_lib.c +++ b/lib/libcrypto/asn1/asn1_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: asn1_lib.c,v 1.33 2015/02/07 13:19:15 doug Exp $ */ +/* $OpenBSD: asn1_lib.c,v 1.34 2015/02/07 22:30:25 miod Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -459,7 +459,7 @@ ASN1_STRING_cmp(const ASN1_STRING *a, const ASN1_STRING *b) void asn1_add_error(const unsigned char *address, int offset) { - ERR_asprintf_error_data("address=%p offset=%d", address, offset); + ERR_asprintf_error_data("offset=%d", offset); } int -- cgit v1.2.3