OpenSSL CVS Repository
http://cvs.openssl.org/
____________________________________________________________________________
Server: cvs.openssl.org Name: Lutz Jaenicke
Root: /e/openssl/cvs Email: jaenicke@xxxxxxxxxxx
Module: openssl Date: 04-Jan-2004 18:54:02
Branch: OpenSSL_0_9_7-stable Handle: 2004010417540200
Modified files: (Branch: OpenSSL_0_9_7-stable)
openssl/ssl ssltest.c
Log:
unintptr_t and <inttypes.h> are not strictly portable with respect to
ANSI C 89.
Undo change to maintain compatibility.
Summary:
Revision Changes Path
1.53.2.22 +1 -2 openssl/ssl/ssltest.c
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openssl/ssl/ssltest.c
============================================================================
$ cvs diff -u -r1.53.2.21 -r1.53.2.22 ssltest.c
--- openssl/ssl/ssltest.c 27 Dec 2003 16:09:59 -0000 1.53.2.21
+++ openssl/ssl/ssltest.c 4 Jan 2004 17:54:02 -0000 1.53.2.22
@@ -119,7 +119,6 @@
#include <stdlib.h>
#include <string.h>
#include <time.h>
-#include <inttypes.h>
#define USE_SOCKETS
#include "e_os.h"
@@ -1509,7 +1508,7 @@
fprintf(stderr, "In app_verify_callback, allowing cert. ");
fprintf(stderr, "Arg is: %s\n", (char *)arg);
fprintf(stderr, "Finished printing do we have a context? 0x%x a cert?
0x%x\n",
- (uintptr_t)ctx, (uintptr_t)ctx->cert);
+ (unsigned int)ctx, (unsigned int)ctx->cert);
if (ctx->cert)
s=X509_NAME_oneline(X509_get_subject_name(ctx->cert),buf,256);
if (s != NULL)
@@ .
______________________________________________________________________
OpenSSL Project http://www.openssl.org
CVS Repository Commit List openssl-cvs@xxxxxxxxxxx
Automated List Manager majordomo@xxxxxxxxxxx
|