--- libaitio/inc/aitio.h 2019/10/08 12:58:55 1.42.2.1 +++ libaitio/inc/aitio.h 2019/10/08 13:00:42 1.42.2.2 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitio.h,v 1.42.2.1 2019/10/08 12:58:55 misho Exp $ +* $Id: aitio.h,v 1.42.2.2 2019/10/08 13:00:42 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004 - 2016 +Copyright 2004 - 2019 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -71,6 +71,7 @@ SUCH DAMAGE. #include +#if OPENSSL_VERSION_NUMBER >= 0x10100000L #ifndef evp_cipher_ctx_st struct evp_cipher_ctx_st { const EVP_CIPHER *cipher; @@ -91,6 +92,7 @@ struct evp_cipher_ctx_st { int block_mask; unsigned char final[EVP_MAX_BLOCK_LENGTH]; /* possible final block */ } /* EVP_CIPHER_CTX */ ; +#endif #endif #ifndef STRSIZ