summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2010-10-01 23:33:23 +0000
committerDamien Miller <djm@cvs.openbsd.org>2010-10-01 23:33:23 +0000
commitb54f76fbff5c3eaffe9a6e85c6d36a7ce71da830 (patch)
tree97866cb22cb2f22bacb6fd436e06cdff72deafcc
parent153b95af70c18d7d3c9168d0d80471d8fe6306fd (diff)
fix -Wall due to API change
-rw-r--r--lib/libssl/src/crypto/evp/e_acss.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libssl/src/crypto/evp/e_acss.c b/lib/libssl/src/crypto/evp/e_acss.c
index a16b85c627a..9084a63d510 100644
--- a/lib/libssl/src/crypto/evp/e_acss.c
+++ b/lib/libssl/src/crypto/evp/e_acss.c
@@ -1,4 +1,4 @@
-/* $Id: e_acss.c,v 1.2 2004/02/13 10:05:44 hshoexer Exp $ */
+/* $Id: e_acss.c,v 1.3 2010/10/01 23:33:22 djm Exp $ */
/*
* Copyright (c) 2004 The OpenBSD project
*
@@ -32,7 +32,7 @@ typedef struct {
static int acss_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
const unsigned char *iv, int enc);
static int acss_ciph(EVP_CIPHER_CTX *ctx, unsigned char *out,
- const unsigned char *in, unsigned int inl);
+ const unsigned char *in, size_t inl);
static int acss_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr);
static const EVP_CIPHER acss_cipher = {
NID_undef,
@@ -64,7 +64,7 @@ acss_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
static int
acss_ciph(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in,
- unsigned int inl)
+ size_t inl)
{
acss(&data(ctx)->ks,inl,in,out);
return 1;