summaryrefslogtreecommitdiffstats
path: root/crypto/evp/evp_test.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-11-02 15:41:30 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-11-02 15:41:30 +0000
commit70d71f61853f67dad75abce42c63e3b71704a763 (patch)
tree1bea383ea46c80fbee7e41ab5be1a8f1de8b7b1b /crypto/evp/evp_test.c
parent5ee92a5ec1c743b5d3b5d2c7558d0f39e302b7e7 (diff)
Fix warnings: printf format mismatches on 64 bit platforms.
Change assert to OPENSSL_assert(). Fix e_padlock prototype.
Diffstat (limited to 'crypto/evp/evp_test.c')
-rw-r--r--crypto/evp/evp_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/evp/evp_test.c b/crypto/evp/evp_test.c
index b8c9235d3e..e723265ace 100644
--- a/crypto/evp/evp_test.c
+++ b/crypto/evp/evp_test.c
@@ -153,8 +153,8 @@ static void test1(const EVP_CIPHER *c,const unsigned char *key,int kn,
if(kn != c->key_len)
{
- fprintf(stderr,"Key length doesn't match, got %d expected %d\n",kn,
- c->key_len);
+ fprintf(stderr,"Key length doesn't match, got %d expected %lu\n",kn,
+ (unsigned long)c->key_len);
test1_exit(5);
}
EVP_CIPHER_CTX_init(&ctx);