diff options
author | miod <> | 2015-02-07 22:30:25 +0000 |
---|---|---|
committer | miod <> | 2015-02-07 22:30:25 +0000 |
commit | 7e2dc80f61d80ca43ec37c4500834784e3e22dae (patch) | |
tree | 701cc013d197441516098a73c89ecab8807735d9 | |
parent | 307c298d1ff2bb1499ac7438b522582b7596cf71 (diff) | |
download | openbsd-7e2dc80f61d80ca43ec37c4500834784e3e22dae.tar.gz openbsd-7e2dc80f61d80ca43ec37c4500834784e3e22dae.tar.bz2 openbsd-7e2dc80f61d80ca43ec37c4500834784e3e22dae.zip |
Don't leak addresses in error messages.
-rw-r--r-- | src/lib/libcrypto/asn1/asn1_lib.c | 4 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/asn1/asn1_lib.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/asn1/asn1_lib.c b/src/lib/libcrypto/asn1/asn1_lib.c index 46de52a050..7a11fa9cbc 100644 --- a/src/lib/libcrypto/asn1/asn1_lib.c +++ b/src/lib/libcrypto/asn1/asn1_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn1_lib.c,v 1.33 2015/02/07 13:19:15 doug Exp $ */ | 1 | /* $OpenBSD: asn1_lib.c,v 1.34 2015/02/07 22:30:25 miod Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -459,7 +459,7 @@ ASN1_STRING_cmp(const ASN1_STRING *a, const ASN1_STRING *b) | |||
459 | void | 459 | void |
460 | asn1_add_error(const unsigned char *address, int offset) | 460 | asn1_add_error(const unsigned char *address, int offset) |
461 | { | 461 | { |
462 | ERR_asprintf_error_data("address=%p offset=%d", address, offset); | 462 | ERR_asprintf_error_data("offset=%d", offset); |
463 | } | 463 | } |
464 | 464 | ||
465 | int | 465 | int |
diff --git a/src/lib/libssl/src/crypto/asn1/asn1_lib.c b/src/lib/libssl/src/crypto/asn1/asn1_lib.c index 46de52a050..7a11fa9cbc 100644 --- a/src/lib/libssl/src/crypto/asn1/asn1_lib.c +++ b/src/lib/libssl/src/crypto/asn1/asn1_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn1_lib.c,v 1.33 2015/02/07 13:19:15 doug Exp $ */ | 1 | /* $OpenBSD: asn1_lib.c,v 1.34 2015/02/07 22:30:25 miod Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -459,7 +459,7 @@ ASN1_STRING_cmp(const ASN1_STRING *a, const ASN1_STRING *b) | |||
459 | void | 459 | void |
460 | asn1_add_error(const unsigned char *address, int offset) | 460 | asn1_add_error(const unsigned char *address, int offset) |
461 | { | 461 | { |
462 | ERR_asprintf_error_data("address=%p offset=%d", address, offset); | 462 | ERR_asprintf_error_data("offset=%d", offset); |
463 | } | 463 | } |
464 | 464 | ||
465 | int | 465 | int |