mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 18:45:10 +01:00
#3183: fix setPadding
This commit is contained in:
parent
b30bebffb0
commit
cb1889a007
@ -151,7 +151,7 @@ namespace
|
||||
int CryptoTransformImpl::setPadding(int padding)
|
||||
{
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
||||
return EVP_CIPHER_CTX_block_size(_pContext);
|
||||
return EVP_CIPHER_CTX_set_padding(_pContext, padding);
|
||||
#else
|
||||
return EVP_CIPHER_CTX_set_padding(&_context, padding);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user