/[gentoo-alt]/trunk/prefix/dev-libs/openssl/files/openssl-0.9.7g-ptr-casting.patch
Gentoo

Contents of /trunk/prefix/dev-libs/openssl/files/openssl-0.9.7g-ptr-casting.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 920 - (show annotations) (download)
Tue Dec 13 20:55:14 2005 UTC (12 years, 6 months ago) by kito
File size: 714 byte(s)
drop -overlay
1 Make sure when we cast as a pointer we don't truncate.
2
3 Patch by Daniel Gryniewicz.
4
5 Index: ssl/ssltest.c
6 ===================================================================
7 RCS file: /usr/local/src/openssl/cvs-tree/openssl/ssl/ssltest.c,v
8 retrieving revision 1.91
9 diff -u -U1 -r1.91 ssltest.c
10 --- ssl/ssltest.c 9 Apr 2005 16:07:11 -0000 1.91
11 +++ ssl/ssltest.c 10 May 2005 02:07:38 -0000
12 @@ -1988,4 +1988,4 @@
13 fprintf(stderr, "Arg is: %s\n", cb_arg->string);
14 - fprintf(stderr, "Finished printing do we have a context? 0x%x a cert? 0x%x\n",
15 - (unsigned int)ctx, (unsigned int)ctx->cert);
16 + fprintf(stderr, "Finished printing do we have a context? 0x%p a cert? 0x%p\n",
17 + ctx, ctx->cert);
18 if (ctx->cert)

  ViewVC Help
Powered by ViewVC 1.1.20