summaryrefslogtreecommitdiff
path: root/cipher-acss.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2011-01-24 11:46:57 +0000
committerColin Watson <cjwatson@debian.org>2011-01-24 11:46:57 +0000
commit0970072c89b079b022538e3c366fbfa2c53fc821 (patch)
treeb7024712d74234bb5a8b036ccbc9109e2e211296 /cipher-acss.c
parent4e8aa4da57000c7bba8e5c49163bc0c0ca383f78 (diff)
parent478ff799463ca926a8dfbabf058f4e84aaffc65a (diff)
merge 5.7p1
Diffstat (limited to 'cipher-acss.c')
-rw-r--r--cipher-acss.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cipher-acss.c b/cipher-acss.c
index cb0bf736c..e755f92b9 100644
--- a/cipher-acss.c
+++ b/cipher-acss.c
@@ -23,6 +23,7 @@
23#if !defined(EVP_CTRL_SET_ACSS_MODE) && (OPENSSL_VERSION_NUMBER >= 0x00907000L) 23#if !defined(EVP_CTRL_SET_ACSS_MODE) && (OPENSSL_VERSION_NUMBER >= 0x00907000L)
24 24
25#include "acss.h" 25#include "acss.h"
26#include "openbsd-compat/openssl-compat.h"
26 27
27#define data(ctx) ((EVP_ACSS_KEY *)(ctx)->cipher_data) 28#define data(ctx) ((EVP_ACSS_KEY *)(ctx)->cipher_data)
28 29
@@ -43,7 +44,7 @@ acss_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
43 44
44static int 45static int
45acss_ciph(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, 46acss_ciph(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in,
46 unsigned int inl) 47 LIBCRYPTO_EVP_INL_TYPE inl)
47{ 48{
48 acss(&data(ctx)->ks,inl,in,out); 49 acss(&data(ctx)->ks,inl,in,out);
49 return 1; 50 return 1;