From: Dr. Stephen Henson Date: Wed, 11 May 2005 00:35:55 +0000 (+0000) Subject: Stop warnings. X-Git-Tag: BEN_FIPS_TEST_8~19 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=765863f0bfcace6f5806a5a2360202dae38c4dd7;p=oweals%2Fopenssl.git Stop warnings. --- diff --git a/fips/fipshashes.c b/fips/fipshashes.c index 1dc7860969..8676a47993 100644 --- a/fips/fipshashes.c +++ b/fips/fipshashes.c @@ -34,5 +34,5 @@ const char * const FIPS_source_hashes[] = { "HMAC-SHA1(sha1/fips_sha256.c)= 826e768677e67b7c87dfc9e084245b619804d01c", "HMAC-SHA1(sha1/fips_sha512.c)= 27e16912ff196982425c00fe266fa84ef4f48fcd", "HMAC-SHA1(hmac/fips_hmac.c)= a477cec1da76c0092979c4a875b6469339bff7ef", -"HMAC-SHA1(hmac/fips_hmac_selftest.c)= 63aa4e9699ae8178051c59fec7d18d3bd9aad25d", +"HMAC-SHA1(hmac/fips_hmac_selftest.c)= 09a27945cafdeb5978109e90278c981464dba324", }; diff --git a/fips/hmac/fips_hmac_selftest.c b/fips/hmac/fips_hmac_selftest.c index 71e26d1eed..773468245e 100644 --- a/fips/hmac/fips_hmac_selftest.c +++ b/fips/hmac/fips_hmac_selftest.c @@ -121,7 +121,7 @@ int FIPS_selftest_hmac() { md = (*t->alg)(); HMAC(md,t->key,strlen(t->key), - t->iv,strlen(t->iv), + (const unsigned char *)t->iv,strlen(t->iv), out,&outlen); if(outlenmd_size || memcmp(out,t->kaval,md->md_size)) diff --git a/ssl/ssltest.c b/ssl/ssltest.c index 808ee6e862..e129028c9d 100644 --- a/ssl/ssltest.c +++ b/ssl/ssltest.c @@ -1930,7 +1930,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", - 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)