diff options
author | Nils Larsch <nils@openssl.org> | 2005-05-10 11:55:28 +0000 |
---|---|---|
committer | Nils Larsch <nils@openssl.org> | 2005-05-10 11:55:28 +0000 |
commit | 35e8510e60ef0b033b304289db28a3cb19c6cbdd (patch) | |
tree | 67189eaa4e02ca369784aaa449c3f9efd7a2b3b9 /ssl | |
parent | 8b15c740180725e3e1e71ff619151840cdec46a5 (diff) |
use 'p' as conversion specifier for printf to avoid truncation of
pointers on 64 bit platforms. Patch supplied by Daniel Gryniewicz
via Mike Frysinger <vapier@gentoo.org>.
PR: 1064
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/ssltest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/ssltest.c b/ssl/ssltest.c index d56f642869..bbfbfc9b38 100644 --- a/ssl/ssltest.c +++ b/ssl/ssltest.c @@ -1986,8 +1986,8 @@ static int MS_CALLBACK app_verify_callback(X509_STORE_CTX *ctx, void *arg) fprintf(stderr, "In app_verify_callback, allowing cert. "); fprintf(stderr, "Arg is: %s\n", cb_arg->string); - fprintf(stderr, "Finished printing do we have a context? 0x%x a cert? 0x%x\n", - (unsigned int)ctx, (unsigned int)ctx->cert); + fprintf(stderr, "Finished printing do we have a context? 0x%p a cert? 0x%p\n", + ctx, ctx->cert); if (ctx->cert) s=X509_NAME_oneline(X509_get_subject_name(ctx->cert),buf,256); if (s != NULL) |