summaryrefslogtreecommitdiffstats
path: root/ssl/ssltest.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-12-27 16:09:59 +0000
committerRichard Levitte <levitte@openssl.org>2003-12-27 16:09:59 +0000
commitd2c786db370c7fda8d8f0f39d4c7d7591e99524f (patch)
tree355b8be682f02c1f21fa00b74c52f557722df27d /ssl/ssltest.c
parent3e786f4b0d5df1956fe763ed68f1c8ce8519f0aa (diff)
Avoid including cryptlib.h, it's not really needed.
Check if IDEA is being built or not. This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
Diffstat (limited to 'ssl/ssltest.c')
-rw-r--r--ssl/ssltest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ssl/ssltest.c b/ssl/ssltest.c
index 28095148e7..7e76c2381a 100644
--- a/ssl/ssltest.c
+++ b/ssl/ssltest.c
@@ -119,6 +119,7 @@
#include <stdlib.h>
#include <string.h>
#include <time.h>
+#include <inttypes.h>
#define USE_SOCKETS
#include "e_os.h"
@@ -1508,7 +1509,7 @@ 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", (char *)arg);
fprintf(stderr, "Finished printing do we have a context? 0x%x a cert? 0x%x\n",
- (unsigned int)ctx, (unsigned int)ctx->cert);
+ (uintptr_t)ctx, (uintptr_t)ctx->cert);
if (ctx->cert)
s=X509_NAME_oneline(X509_get_subject_name(ctx->cert),buf,256);
if (s != NULL)