summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/bio/bio_cb.c4
-rw-r--r--src/lib/libssl/src/crypto/bio/bio_cb.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/bio/bio_cb.c b/src/lib/libcrypto/bio/bio_cb.c
index 7d1f025452..ab0e3a92ce 100644
--- a/src/lib/libcrypto/bio/bio_cb.c
+++ b/src/lib/libcrypto/bio/bio_cb.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bio_cb.c,v 1.15 2014/07/11 08:44:47 jsing Exp $ */ 1/* $OpenBSD: bio_cb.c,v 1.16 2014/12/08 03:54:19 bcook 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 *
@@ -76,7 +76,7 @@ BIO_debug_callback(BIO *bio, int cmd, const char *argp, int argi, long argl,
76 if (BIO_CB_RETURN & cmd) 76 if (BIO_CB_RETURN & cmd)
77 r = ret; 77 r = ret;
78 78
79 snprintf(buf, sizeof buf, "BIO[%08lX]:", (unsigned long)bio); 79 snprintf(buf, sizeof buf, "BIO[%p]:", bio);
80 p = &(buf[14]); 80 p = &(buf[14]);
81 p_maxlen = sizeof buf - 14; 81 p_maxlen = sizeof buf - 14;
82 switch (cmd) { 82 switch (cmd) {
diff --git a/src/lib/libssl/src/crypto/bio/bio_cb.c b/src/lib/libssl/src/crypto/bio/bio_cb.c
index 7d1f025452..ab0e3a92ce 100644
--- a/src/lib/libssl/src/crypto/bio/bio_cb.c
+++ b/src/lib/libssl/src/crypto/bio/bio_cb.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bio_cb.c,v 1.15 2014/07/11 08:44:47 jsing Exp $ */ 1/* $OpenBSD: bio_cb.c,v 1.16 2014/12/08 03:54:19 bcook 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 *
@@ -76,7 +76,7 @@ BIO_debug_callback(BIO *bio, int cmd, const char *argp, int argi, long argl,
76 if (BIO_CB_RETURN & cmd) 76 if (BIO_CB_RETURN & cmd)
77 r = ret; 77 r = ret;
78 78
79 snprintf(buf, sizeof buf, "BIO[%08lX]:", (unsigned long)bio); 79 snprintf(buf, sizeof buf, "BIO[%p]:", bio);
80 p = &(buf[14]); 80 p = &(buf[14]);
81 p_maxlen = sizeof buf - 14; 81 p_maxlen = sizeof buf - 14;
82 switch (cmd) { 82 switch (cmd) {