diff options
Diffstat (limited to 'src')
| -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 4f6379e160..342c59e659 100644 --- a/src/lib/libssl/src/ssl/ssltest.c +++ b/src/lib/libssl/src/ssl/ssltest.c | |||
| @@ -122,6 +122,7 @@ | |||
| 122 | #include <stdlib.h> | 122 | #include <stdlib.h> |
| 123 | #include <string.h> | 123 | #include <string.h> |
| 124 | #include <time.h> | 124 | #include <time.h> |
| 125 | #include <inttypes.h> | ||
| 125 | 126 | ||
| 126 | #include "e_os.h" | 127 | #include "e_os.h" |
| 127 | 128 | ||
| @@ -1474,8 +1475,8 @@ static int MS_CALLBACK app_verify_callback(X509_STORE_CTX *ctx, void *arg) | |||
| 1474 | 1475 | ||
| 1475 | fprintf(stderr, "In app_verify_callback, allowing cert. "); | 1476 | fprintf(stderr, "In app_verify_callback, allowing cert. "); |
| 1476 | fprintf(stderr, "Arg is: %s\n", (char *)arg); | 1477 | fprintf(stderr, "Arg is: %s\n", (char *)arg); |
| 1477 | fprintf(stderr, "Finished printing do we have a context? 0x%x a cert? 0x%x\n", | 1478 | fprintf(stderr, "Finished printing do we have a context? 0x%lx a cert? 0x%lx\n", |
| 1478 | (unsigned int)ctx, (unsigned int)ctx->cert); | 1479 | (uintptr_t)ctx, (uintptr_t)ctx->cert); |
| 1479 | if (ctx->cert) | 1480 | if (ctx->cert) |
| 1480 | s=X509_NAME_oneline(X509_get_subject_name(ctx->cert),buf,256); | 1481 | s=X509_NAME_oneline(X509_get_subject_name(ctx->cert),buf,256); |
| 1481 | if (s != NULL) | 1482 | if (s != NULL) |
