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
9a49ff64
Kaydet (Commit)
9a49ff64
authored
Şub 19, 2013
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
nsscrypto_initializer: MSVC does not support C99 dynamic arrays
Change-Id: I407b2308756b46fbf0920881fc20972b486819b7
üst
8ff09509
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
nssinitializer.cxx
xmlsecurity/source/xmlsec/nss/nssinitializer.cxx
+8
-6
No files found.
xmlsecurity/source/xmlsec/nss/nssinitializer.cxx
Dosyayı görüntüle @
9a49ff64
...
...
@@ -62,6 +62,8 @@
#include "digestcontext.hxx"
#include "ciphercontext.hxx"
#include <boost/scoped_array.hpp>
#include <nspr.h>
#include <cert.h>
#include <nss.h>
...
...
@@ -282,9 +284,9 @@ bool nsscrypto_initialize( const css::uno::Reference< css::uno::XComponentContex
int
errlen
=
PR_GetErrorTextLength
();
if
(
errlen
>
0
)
{
char
error
[
errlen
+
1
]
;
PR_GetErrorText
(
error
);
xmlsec_trace
(
"%s"
,
error
);
boost
::
scoped_array
<
char
>
const
error
(
new
char
[
errlen
+
1
])
;
PR_GetErrorText
(
error
.
get
()
);
xmlsec_trace
(
"%s"
,
error
.
get
()
);
}
bSuccess
=
false
;
}
...
...
@@ -299,9 +301,9 @@ bool nsscrypto_initialize( const css::uno::Reference< css::uno::XComponentContex
int
errlen
=
PR_GetErrorTextLength
();
if
(
errlen
>
0
)
{
char
error
[
errlen
+
1
]
;
PR_GetErrorText
(
error
);
xmlsec_trace
(
"%s"
,
error
);
boost
::
scoped_array
<
char
>
const
error
(
new
char
[
errlen
+
1
])
;
PR_GetErrorText
(
error
.
get
()
);
xmlsec_trace
(
"%s"
,
error
.
get
()
);
}
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