To allow building on NetBSD.
Signed-off-by: Adriaan de Jong <[email protected]>
---
crypto_openssl.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/crypto_openssl.c b/crypto_openssl.c
index e43d73c..fdea326 100644
--- a/crypto_openssl.c
+++ b/crypto_openssl.c
@@ -642,10 +642,10 @@ cipher_des_encrypt_ecb (const unsigned char
key[DES_KEY_LENGTH],
unsigned char *src,
unsigned char *dst)
{
- des_key_schedule sched;
+ DES_key_schedule sched;
- des_set_key_unchecked((des_cblock*)key, sched);
- des_ecb_encrypt((des_cblock *)src, (des_cblock *)dst, sched, DES_ENCRYPT);
+ des_set_key_unchecked((DES_cblock*)key, sched);
+ des_ecb_encrypt((DES_cblock *)src, (DES_cblock *)dst, sched, DES_ENCRYPT);
}
/*
--
1.7.5.4