summaryrefslogtreecommitdiffstats
path: root/engines/e_padlock.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 /engines/e_padlock.c
parent5ee92a5ec1c743b5d3b5d2c7558d0f39e302b7e7 (diff)
Fix warnings: printf format mismatches on 64 bit platforms.
Change assert to OPENSSL_assert(). Fix e_padlock prototype.
Diffstat (limited to 'engines/e_padlock.c')
-rw-r--r--engines/e_padlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/e_padlock.c b/engines/e_padlock.c
index 64a13e754c..fbb0dae3cf 100644
--- a/engines/e_padlock.c
+++ b/engines/e_padlock.c
@@ -1169,7 +1169,7 @@ padlock_aes_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out_arg,
/* Wrapper that provides an interface between the API and
the raw PadLock RNG */
static int
-padlock_rand_bytes(unsigned char *output, int count)
+padlock_rand_bytes(unsigned char *output, size_t count)
{
unsigned int eax, buf;