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
17796bfb
Kaydet (Commit)
17796bfb
authored
Kas 10, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1130169 Unchecked return value
Change-Id: I62ed42412a0cafa33ddafe536723f5e336c92a7a
üst
735f3a94
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
CryptTools.cxx
oox/source/crypto/CryptTools.cxx
+4
-4
No files found.
oox/source/crypto/CryptTools.cxx
Dosyayı görüntüle @
17796bfb
...
...
@@ -137,11 +137,11 @@ sal_uInt32 Decrypt::update(vector<sal_uInt8>& output, vector<sal_uInt8>& input,
sal_uInt32
actualInputLength
=
inputLength
==
0
||
inputLength
>
input
.
size
()
?
input
.
size
()
:
inputLength
;
#if USE_TLS_OPENSSL
EVP_DecryptUpdate
(
&
mContext
,
&
output
[
0
],
&
outputLength
,
&
input
[
0
],
actualInputLength
);
(
void
)
EVP_DecryptUpdate
(
&
mContext
,
&
output
[
0
],
&
outputLength
,
&
input
[
0
],
actualInputLength
);
#endif // USE_TLS_OPENSSL
#if USE_TLS_NSS
PK11_CipherOp
(
mContext
,
&
output
[
0
],
&
outputLength
,
actualInputLength
,
&
input
[
0
],
actualInputLength
);
(
void
)
PK11_CipherOp
(
mContext
,
&
output
[
0
],
&
outputLength
,
actualInputLength
,
&
input
[
0
],
actualInputLength
);
#endif // USE_TLS_NSS
return
static_cast
<
sal_uInt32
>
(
outputLength
);
...
...
@@ -185,11 +185,11 @@ sal_uInt32 Encrypt::update(vector<sal_uInt8>& output, vector<sal_uInt8>& input,
sal_uInt32
actualInputLength
=
inputLength
==
0
||
inputLength
>
input
.
size
()
?
input
.
size
()
:
inputLength
;
#if USE_TLS_OPENSSL
EVP_EncryptUpdate
(
&
mContext
,
&
output
[
0
],
&
outputLength
,
&
input
[
0
],
actualInputLength
);
(
void
)
EVP_EncryptUpdate
(
&
mContext
,
&
output
[
0
],
&
outputLength
,
&
input
[
0
],
actualInputLength
);
#endif // USE_TLS_OPENSSL
#if USE_TLS_NSS
PK11_CipherOp
(
mContext
,
&
output
[
0
],
&
outputLength
,
actualInputLength
,
&
input
[
0
],
actualInputLength
);
(
void
)
PK11_CipherOp
(
mContext
,
&
output
[
0
],
&
outputLength
,
actualInputLength
,
&
input
[
0
],
actualInputLength
);
#endif // USE_TLS_NSS
return
static_cast
<
sal_uInt32
>
(
outputLength
);
...
...
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