Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
15b3e298
Kaydet (Commit)
15b3e298
authored
Mar 24, 2014
tarafından
Tomaž Vajngerl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#76222 oox: add support for MSO 2007 SP2 encrypted documents
Change-Id: I8fa586d49437ff5422fc3daa4c81439146e598a0
üst
44956c32
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
Standard2007Engine.hxx
include/oox/crypto/Standard2007Engine.hxx
+4
-1
DocumentDecryption.cxx
oox/source/crypto/DocumentDecryption.cxx
+1
-0
No files found.
include/oox/crypto/Standard2007Engine.hxx
Dosyayı görüntüle @
15b3e298
...
@@ -37,7 +37,10 @@ const sal_uInt32 ENCRYPT_PROVIDER_TYPE_AES = 0x00000018;
...
@@ -37,7 +37,10 @@ const sal_uInt32 ENCRYPT_PROVIDER_TYPE_AES = 0x00000018;
const
sal_uInt32
ENCRYPT_PROVIDER_TYPE_RC4
=
0x00000001
;
const
sal_uInt32
ENCRYPT_PROVIDER_TYPE_RC4
=
0x00000001
;
// version of encryption info used in MS Office 2007 (major = 3, minor = 2)
// version of encryption info used in MS Office 2007 (major = 3, minor = 2)
const
sal_uInt32
VERSION_INFO_2007_FORMAT
=
0x00020003
;
const
sal_uInt32
VERSION_INFO_2007_FORMAT
=
0x00020003
;
// version of encryption info used in MS Office 2007 SP2 and older (major = 4, minor = 2)
const
sal_uInt32
VERSION_INFO_2007_FORMAT_SP2
=
0x00020004
;
// version of encryption info - agile (major = 4, minor = 4)
// version of encryption info - agile (major = 4, minor = 4)
const
sal_uInt32
VERSION_INFO_AGILE
=
0x00040004
;
const
sal_uInt32
VERSION_INFO_AGILE
=
0x00040004
;
...
...
oox/source/crypto/DocumentDecryption.cxx
Dosyayı görüntüle @
15b3e298
...
@@ -345,6 +345,7 @@ bool DocumentDecryption::readEncryptionInfo()
...
@@ -345,6 +345,7 @@ bool DocumentDecryption::readEncryptionInfo()
switch
(
aVersion
)
switch
(
aVersion
)
{
{
case
VERSION_INFO_2007_FORMAT
:
case
VERSION_INFO_2007_FORMAT
:
case
VERSION_INFO_2007_FORMAT_SP2
:
mCryptoType
=
STANDARD_2007
;
// Set encryption info format
mCryptoType
=
STANDARD_2007
;
// Set encryption info format
bResult
=
readStandard2007EncryptionInfo
(
aBinaryInputStream
);
bResult
=
readStandard2007EncryptionInfo
(
aBinaryInputStream
);
break
;
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment