diff options
Diffstat (limited to 'src/lib/libssl/src/ssl/ssltest.c')
-rw-r--r-- | src/lib/libssl/src/ssl/ssltest.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libssl/src/ssl/ssltest.c b/src/lib/libssl/src/ssl/ssltest.c index 42289c255b..84c25d2c30 100644 --- a/src/lib/libssl/src/ssl/ssltest.c +++ b/src/lib/libssl/src/ssl/ssltest.c | |||
@@ -119,6 +119,7 @@ | |||
119 | #include <stdlib.h> | 119 | #include <stdlib.h> |
120 | #include <string.h> | 120 | #include <string.h> |
121 | #include <time.h> | 121 | #include <time.h> |
122 | #include <inttypes.h> | ||
122 | 123 | ||
123 | #define USE_SOCKETS | 124 | #define USE_SOCKETS |
124 | #include "e_os.h" | 125 | #include "e_os.h" |
@@ -1500,8 +1501,8 @@ static int MS_CALLBACK app_verify_callback(X509_STORE_CTX *ctx, void *arg) | |||
1500 | 1501 | ||
1501 | fprintf(stderr, "In app_verify_callback, allowing cert. "); | 1502 | fprintf(stderr, "In app_verify_callback, allowing cert. "); |
1502 | fprintf(stderr, "Arg is: %s\n", (char *)arg); | 1503 | fprintf(stderr, "Arg is: %s\n", (char *)arg); |
1503 | fprintf(stderr, "Finished printing do we have a context? 0x%x a cert? 0x%x\n", | 1504 | fprintf(stderr, "Finished printing do we have a context? 0x%lx a cert? 0x%lx\n", |
1504 | (unsigned int)ctx, (unsigned int)ctx->cert); | 1505 | (uintptr_t)ctx, (uintptr_t)ctx->cert); |
1505 | if (ctx->cert) | 1506 | if (ctx->cert) |
1506 | s=X509_NAME_oneline(X509_get_subject_name(ctx->cert),buf,256); | 1507 | s=X509_NAME_oneline(X509_get_subject_name(ctx->cert),buf,256); |
1507 | if (s != NULL) | 1508 | if (s != NULL) |