diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2014-07-13 23:34:40 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2014-07-13 23:34:40 +0000 |
commit | a2482d4be242d84d1bda76548b5aa2cbccd51625 (patch) | |
tree | 7075baaaaf0567f3e68a7ca2a0ef5c024563f9ce /lib/libssl | |
parent | a1738f65db11be6a3f7b4d589271bebd1b779de6 (diff) |
Stop leaking internal library pointers in error messages.
Requested by miod@
Diffstat (limited to 'lib/libssl')
-rw-r--r-- | lib/libssl/src/ssl/ssl_asn1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/src/ssl/ssl_asn1.c b/lib/libssl/src/ssl/ssl_asn1.c index 3d4fe8cb6f4..627acbf5b07 100644 --- a/lib/libssl/src/ssl/ssl_asn1.c +++ b/lib/libssl/src/ssl/ssl_asn1.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_asn1.c,v 1.36 2014/07/13 21:38:23 jsing Exp $ */ +/* $OpenBSD: ssl_asn1.c,v 1.37 2014/07/13 23:34:39 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -683,7 +683,7 @@ d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp, long length) return (ret); err: - ERR_asprintf_error_data("address=%p offset=%d", *pp, (int)(c.q - *pp)); + ERR_asprintf_error_data("offset=%d", (int)(c.q - *pp)); if (ret != NULL && (a == NULL || *a != ret)) SSL_SESSION_free(ret); |