diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2015-02-07 22:30:26 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2015-02-07 22:30:26 +0000 |
commit | 145f87fde2b6a069637fb346d6a9d0fc50c120fb (patch) | |
tree | 475d65b33213eb15d8cc7f71a2a8b3db341dd9f7 /lib/libcrypto | |
parent | de2d98f82616db9ef5a8e36bd7c53b5684478563 (diff) |
Don't leak addresses in error messages.
Diffstat (limited to 'lib/libcrypto')
-rw-r--r-- | lib/libcrypto/asn1/asn1_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |