diff options
| author | miod <> | 2015-02-07 22:30:25 +0000 |
|---|---|---|
| committer | miod <> | 2015-02-07 22:30:25 +0000 |
| commit | d4ca3f3227b910ec57c0b36a6d1e36b3be407354 (patch) | |
| tree | 701cc013d197441516098a73c89ecab8807735d9 | |
| parent | 064813999c66e000ae1dcafe1ae82dd0690e09f1 (diff) | |
| download | openbsd-d4ca3f3227b910ec57c0b36a6d1e36b3be407354.tar.gz openbsd-d4ca3f3227b910ec57c0b36a6d1e36b3be407354.tar.bz2 openbsd-d4ca3f3227b910ec57c0b36a6d1e36b3be407354.zip | |
Don't leak addresses in error messages.
Diffstat (limited to '')
| -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 |
