Fix from stable branch.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 12 May 2005 22:39:42 +0000 (22:39 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 12 May 2005 22:39:42 +0000 (22:39 +0000)
ssl/ssltest.c

index bbfbfc9b38b9711ef3a8cab4ef23ffc290f1f6f8..085456c90ec126bc896a4a3d752abd9304e9d649 100644 (file)
@@ -1987,7 +1987,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", cb_arg->string);
                fprintf(stderr, "Finished printing do we have a context? 0x%p a cert? 0x%p\n",
                fprintf(stderr, "In app_verify_callback, allowing cert. ");
                fprintf(stderr, "Arg is: %s\n", cb_arg->string);
                fprintf(stderr, "Finished printing do we have a context? 0x%p a cert? 0x%p\n",
-                       ctx, ctx->cert);
+                       (void *)ctx, (void *)ctx->cert);
                if (ctx->cert)
                        s=X509_NAME_oneline(X509_get_subject_name(ctx->cert),buf,256);
                if (s != NULL)
                if (ctx->cert)
                        s=X509_NAME_oneline(X509_get_subject_name(ctx->cert),buf,256);
                if (s != NULL)