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
4b65a6b7
Kaydet (Commit)
4b65a6b7
authored
Mar 25, 2011
tarafından
Mikhail Voytenko
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
mav60: adjust the complex tests
üst
b7460db3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
TestHelper.java
package/qa/storages/TestHelper.java
+7
-7
No files found.
package/qa/storages/TestHelper.java
Dosyayı görüntüle @
4b65a6b7
...
@@ -1434,8 +1434,8 @@ public class TestHelper {
...
@@ -1434,8 +1434,8 @@ public class TestHelper {
try
try
{
{
byte
pData
[][]
=
new
byte
[
1
][
22
];
byte
pData
[][]
=
new
byte
[
1
][
38
];
if
(
xHeadRawStream
.
readBytes
(
pData
,
3
4
)
!=
34
)
if
(
xHeadRawStream
.
readBytes
(
pData
,
3
8
)
!=
38
)
{
{
Error
(
"Can't read header of encrypted stream '"
+
sStreamName
+
"' raw representations!"
);
Error
(
"Can't read header of encrypted stream '"
+
sStreamName
+
"' raw representations!"
);
return
false
;
return
false
;
...
@@ -1448,10 +1448,10 @@ public class TestHelper {
...
@@ -1448,10 +1448,10 @@ public class TestHelper {
}
}
int
nVariableHeaderLength
=
int
nVariableHeaderLength
=
(
pData
[
0
][
26
]
+
pData
[
0
][
27
]
*
0x100
)
// salt length
(
pData
[
0
][
30
]
+
pData
[
0
][
31
]
*
0x100
)
// salt length
+
(
pData
[
0
][
28
]
+
pData
[
0
][
29
]
*
0x100
)
// iv length
+
(
pData
[
0
][
32
]
+
pData
[
0
][
33
]
*
0x100
)
// iv length
+
(
pData
[
0
][
3
0
]
+
pData
[
0
][
31
]
*
0x100
)
// digest length
+
(
pData
[
0
][
3
4
]
+
pData
[
0
][
35
]
*
0x100
)
// digest length
+
(
pData
[
0
][
3
2
]
+
pData
[
0
][
33
]
*
0x100
);
// mediatype length
+
(
pData
[
0
][
3
6
]
+
pData
[
0
][
37
]
*
0x100
);
// mediatype length
xHeadRawStream
.
skipBytes
(
nVariableHeaderLength
);
xHeadRawStream
.
skipBytes
(
nVariableHeaderLength
);
...
@@ -1467,7 +1467,7 @@ public class TestHelper {
...
@@ -1467,7 +1467,7 @@ public class TestHelper {
if
(
nRead1
!=
nRead2
)
if
(
nRead1
!=
nRead2
)
{
{
Error
(
"The encrypted stream '"
+
sStreamName
+
"' raw representations have different size!
"
);
Error
(
"The encrypted stream '"
+
sStreamName
+
"' raw representations have different size!
nRead1 - nRead2 = "
+
(
new
Integer
(
nRead1
-
nRead2
)
).
toString
()
);
return
false
;
return
false
;
}
}
...
...
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