svn commit: r482164 - in head/editors: openoffice-4 openoffice-4/files openoffice-devel openoffice-devel/files
Don Lewis
truckman at FreeBSD.org
Mon Oct 15 18:37:51 UTC 2018
On 15 Oct, Jan Beich wrote:
> Don Lewis <truckman at FreeBSD.org> writes:
>
>> ++ EVP_CIPHER_CTX *pAes_ctx;
>> ++#if OPENSSL_VERSION_NUMBER < 0x10100000L
>> + EVP_CIPHER_CTX aes_ctx;
>> + EVP_CIPHER_CTX_init( &aes_ctx );
>> +- EVP_DecryptInit_ex( &aes_ctx, EVP_aes_128_ecb(), 0, pnKey, 0 );
>> +- EVP_CIPHER_CTX_set_padding( &aes_ctx, 0 );
>> ++ pAes_ctx = &aes_ctx;
>> ++#else
>> ++ pAes_ctx = EVP_CIPHER_CTX_new();
>> ++#endif
>> ++ EVP_DecryptInit_ex( pAes_ctx, EVP_aes_128_ecb(), 0, pnKey, 0 );
>> ++ EVP_CIPHER_CTX_set_padding( pAes_ctx, 0 );
>
> Why conditional? Also, LibreSSL still uses non-opaque structs.
The older OpenSSL man page doesn't mention EVP_CIPHER_CTX_new(), so
I assumed that it wasn't implemented.
Nobody seems to have tried building OpenOffice with LibreSSL.
More information about the svn-ports-all
mailing list