summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2015-02-07 22:30:25 +0000
committermiod <miod@openbsd.org>2015-02-07 22:30:25 +0000
commitb6afe24027072c6e9fe236b76a7f3bc427f20706 (patch)
tree0c955cdbd24cc43d66ee67d3c043bd5a6c245891 /lib/libssl/src
parentuse strtonum() instead of atoi(); ok bluhm (diff)
downloadwireguard-openbsd-b6afe24027072c6e9fe236b76a7f3bc427f20706.tar.xz
wireguard-openbsd-b6afe24027072c6e9fe236b76a7f3bc427f20706.zip
Don't leak addresses in error messages.
Diffstat (limited to 'lib/libssl/src')
-rw-r--r--lib/libssl/src/crypto/asn1/asn1_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/src/crypto/asn1/asn1_lib.c b/lib/libssl/src/crypto/asn1/asn1_lib.c
index 46de52a0508..7a11fa9cbcb 100644
--- a/lib/libssl/src/crypto/asn1/asn1_lib.c
+++ b/lib/libssl/src/crypto/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