This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a change to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
from fc265111d3 Use OpenSSL ciphers as opaque pointer types, created with
EVP_CIPHER_CTX_new() and freed with EVP_CIPHER_CTX_free(), so we are compatible
with both OpenSSL 1.0.x and 1.1.x.
new 4e7b0f82e2 Implement the (MS Office 2010+) OOXML "Agile encryption"
support, so that we can open such password-protected OOXML files.
new d5436bf628 Use &v[0] instead of v.data() for "::std::vector v",
because Visual Studio 2008 doesn't have the ::std::vector::data() method in its
broken/incomplete STL.
new 344f2659b8 Add compatibility with OpenSSL 1.0.x.
new ae7dce1f65 getFlag() isn't happy on Visual Studio 2008, hack it to
work.
new 31bd0d215b Don't allow calls to OpenSSLCipher::blockSize() before the
cipher is initialized.
The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
main/NOTICE | 39 +
main/oox/Library_oox.mk | 2 +
main/oox/inc/oox/core/encryption.hxx | 66 ++
main/oox/inc/oox/core/filterdetect.hxx | 2 +
main/oox/inc/oox/helper/binaryoutputstream.hxx | 3 +
main/oox/inc/oox/helper/openssl_wrapper.hxx | 162 ++++
main/oox/source/core/encryption.cxx | 985 +++++++++++++++++++++++++
main/oox/source/core/filterdetect.cxx | 316 ++------
main/oox/source/helper/binaryoutputstream.cxx | 12 +
main/oox/source/helper/openssl_wrapper.cxx | 63 ++
main/oox/source/token/namespaces.hxx.tail | 2 +
main/oox/source/token/namespaces.txt | 5 +
main/oox/source/token/tokens.txt | 29 +-
13 files changed, 1426 insertions(+), 260 deletions(-)
create mode 100644 main/oox/inc/oox/core/encryption.hxx
create mode 100644 main/oox/inc/oox/helper/openssl_wrapper.hxx
create mode 100644 main/oox/source/core/encryption.cxx
create mode 100644 main/oox/source/helper/openssl_wrapper.cxx