diff options
author | 2010-10-01 23:33:22 +0000 | |
---|---|---|
committer | 2010-10-01 23:33:22 +0000 | |
commit | 2b13c9758bc11a0d9aea0cb8525ea2462aaebd63 (patch) | |
tree | 08c81331bc77f63ebe8421d1e7711d7fde1474f0 /lib/libssl/src | |
parent | turn off -g too (diff) | |
download | wireguard-openbsd-2b13c9758bc11a0d9aea0cb8525ea2462aaebd63.tar.xz wireguard-openbsd-2b13c9758bc11a0d9aea0cb8525ea2462aaebd63.zip |
fix -Wall due to API change
Diffstat (limited to 'lib/libssl/src')
-rw-r--r-- | lib/libssl/src/crypto/evp/e_acss.c | 6 |
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; |