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
7add9c24
Kaydet (Commit)
7add9c24
authored
Haz 23, 2017
tarafından
Samuel Mehrbrodt
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
gpg4libre: Handle error when retrieving public key
Change-Id: I9543e47fb3302a5ca146a606305b24733f015a5d
üst
40c9ebbb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
CertificateImpl.cxx
xmlsecurity/source/gpg/CertificateImpl.cxx
+4
-1
No files found.
xmlsecurity/source/gpg/CertificateImpl.cxx
Dosyayı görüntüle @
7add9c24
...
@@ -211,7 +211,10 @@ void CertificateImpl::setCertificate(GpgME::Context* ctx, const GpgME::Key& key)
...
@@ -211,7 +211,10 @@ void CertificateImpl::setCertificate(GpgME::Context* ctx, const GpgME::Key& key)
// extract key data, store into m_aBits
// extract key data, store into m_aBits
GpgME
::
Data
data_out
;
GpgME
::
Data
data_out
;
ctx
->
exportPublicKeys
(
key
.
keyID
(),
data_out
);
GpgME
::
Error
err
=
ctx
->
exportPublicKeys
(
key
.
keyID
(),
data_out
);
if
(
err
)
throw
RuntimeException
(
"The GpgME library failed to retrieve the public key"
);
assert
(
data_out
.
seek
(
0
,
SEEK_SET
)
==
0
);
assert
(
data_out
.
seek
(
0
,
SEEK_SET
)
==
0
);
int
len
=
0
,
curr
=
0
;
char
buf
;
int
len
=
0
,
curr
=
0
;
char
buf
;
...
...
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