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
27b743bd
Kaydet (Commit)
27b743bd
authored
Kas 25, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
-Werror,-Wwritable-strings
Change-Id: I85ae9765ed090816c48efd138d9a1a428999dd20
üst
cf87fd19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
pdfwriter_impl.cxx
vcl/source/gdi/pdfwriter_impl.cxx
+4
-3
No files found.
vcl/source/gdi/pdfwriter_impl.cxx
Dosyayı görüntüle @
27b743bd
...
@@ -7269,7 +7269,7 @@ bool PDFWriterImpl::finalizeSignature()
...
@@ -7269,7 +7269,7 @@ bool PDFWriterImpl::finalizeSignature()
aPara.cbSize = sizeof(aPara);
aPara.cbSize = sizeof(aPara);
aPara.dwMsgEncodingType = PKCS_7_ASN_ENCODING | X509_ASN_ENCODING;
aPara.dwMsgEncodingType = PKCS_7_ASN_ENCODING | X509_ASN_ENCODING;
aPara.pSigningCert = pCertContext;
aPara.pSigningCert = pCertContext;
aPara.HashAlgorithm.pszObjId =
szOID_RSA_SHA1RSA
;
aPara.HashAlgorithm.pszObjId =
const_cast<LPSTR>(szOID_RSA_SHA1RSA)
;
aPara.HashAlgorithm.Parameters.cbData = 0;
aPara.HashAlgorithm.Parameters.cbData = 0;
aPara.cMsgCert = 1;
aPara.cMsgCert = 1;
aPara.rgpMsgCert = &pCertContext;
aPara.rgpMsgCert = &pCertContext;
...
@@ -7298,7 +7298,7 @@ bool PDFWriterImpl::finalizeSignature()
...
@@ -7298,7 +7298,7 @@ bool PDFWriterImpl::finalizeSignature()
aSignerInfo.pCertInfo = pCertContext->pCertInfo;
aSignerInfo.pCertInfo = pCertContext->pCertInfo;
aSignerInfo.hCryptProv = hCryptProv;
aSignerInfo.hCryptProv = hCryptProv;
aSignerInfo.dwKeySpec = nKeySpec;
aSignerInfo.dwKeySpec = nKeySpec;
aSignerInfo.HashAlgorithm.pszObjId =
szOID_RSA_SHA1RSA
;
aSignerInfo.HashAlgorithm.pszObjId =
const_cast<LPSTR>(szOID_RSA_SHA1RSA)
;
aSignerInfo.HashAlgorithm.Parameters.cbData = 0;
aSignerInfo.HashAlgorithm.Parameters.cbData = 0;
CMSG_SIGNED_ENCODE_INFO aSignedInfo;
CMSG_SIGNED_ENCODE_INFO aSignedInfo;
...
@@ -7469,7 +7469,8 @@ bool PDFWriterImpl::finalizeSignature()
...
@@ -7469,7 +7469,8 @@ bool PDFWriterImpl::finalizeSignature()
aTimestampBlob.pbData = pTsContext->pbEncoded;
aTimestampBlob.pbData = pTsContext->pbEncoded;
CRYPT_ATTRIBUTE aTimestampAttribute;
CRYPT_ATTRIBUTE aTimestampAttribute;
aTimestampAttribute.pszObjId = "1.2.840.113549.1.9.16.2.14";
aTimestampAttribute.pszObjId = const_cast<LPSTR>(
"1.2.840.113549.1.9.16.2.14");
aTimestampAttribute.cValue = 1;
aTimestampAttribute.cValue = 1;
aTimestampAttribute.rgValue = &aTimestampBlob;
aTimestampAttribute.rgValue = &aTimestampBlob;
...
...
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