diff options
Diffstat (limited to 'cipher-acss.c')
-rw-r--r-- | cipher-acss.c | 3 |
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 | ||
44 | static int | 45 | static int |
45 | acss_ciph(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, | 46 | acss_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; |