summaryrefslogtreecommitdiffstats
path: root/extra/openoffice/libxmlsec-findcerts.diff
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-11 22:12:11 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-11 22:12:11 +0200
commitafd1de4942c9cfe78a359af2d461e8d85967ecd9 (patch)
tree99449ebb715e09b0587a87aa0071608af52a187b /extra/openoffice/libxmlsec-findcerts.diff
parentb8cc8a29eda028a61b7a0862279b27c6616c791a (diff)
downloadnutyx-extra-afd1de4942c9cfe78a359af2d461e8d85967ecd9.tar.gz
nutyx-extra-afd1de4942c9cfe78a359af2d461e8d85967ecd9.tar.bz2
nutyx-extra-afd1de4942c9cfe78a359af2d461e8d85967ecd9.tar.xz
nutyx-extra-afd1de4942c9cfe78a359af2d461e8d85967ecd9.zip
Ajout de openoffice#3.1.0-1
Diffstat (limited to 'extra/openoffice/libxmlsec-findcerts.diff')
-rwxr-xr-xextra/openoffice/libxmlsec-findcerts.diff28
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/openoffice/libxmlsec-findcerts.diff b/extra/openoffice/libxmlsec-findcerts.diff
new file mode 100755
index 000000000..65e0adb81
--- /dev/null
+++ b/extra/openoffice/libxmlsec-findcerts.diff
@@ -0,0 +1,28 @@
+--- libxmlsec/xmlsec1-1.2.6.patch
++++ libxmlsec/xmlsec1-1.2.6.patch
+@@ -17395,3 +17395,25 @@
+ XMLSEC_NSS_ALIBS = smime3.lib ssl3.lib nss3.lib libnspr4_s.lib libplds4_s.lib libplc4_s.lib kernel32.lib user32.lib gdi32.lib
+
+ XMLSEC_MSCRYPTO_SOLIBS = kernel32.lib user32.lib gdi32.lib Crypt32.lib Advapi32.lib
++*** misc/xmlsec1-1.2.6/src/nss/x509.c 2007-03-16 12:51:38.000000000 -0400
++--- misc/build/xmlsec1-1.2.6/src/nss/x509.c 2007-03-19 11:23:22.000000000 -0400
++*************** xmlSecNssKeyDataX509VerifyAndExtractKey(
++*** 1365,1373 ****
++ /*-
++ * I'll search key according to KeyReq.
++ */
++- slot = cert->slot ;
++ if( ( keyInfoCtx->keyReq.keyType & xmlSecKeyDataTypePrivate ) == xmlSecKeyDataTypePrivate ) {
++! if( ( priKey = PK11_FindPrivateKeyFromCert( slot , cert , NULL ) ) == NULL ) {
++ xmlSecError( XMLSEC_ERRORS_HERE ,
++ xmlSecErrorsSafeString( xmlSecKeyDataGetName( data ) ) ,
++ "PK11_FindPrivateKeyFromCert" ,
++--- 1365,1372 ----
++ /*-
++ * I'll search key according to KeyReq.
++ */
++ if( ( keyInfoCtx->keyReq.keyType & xmlSecKeyDataTypePrivate ) == xmlSecKeyDataTypePrivate ) {
++! if( ( priKey = PK11_FindKeyByAnyCert( cert , NULL ) ) == NULL ) {
++ xmlSecError( XMLSEC_ERRORS_HERE ,
++ xmlSecErrorsSafeString( xmlSecKeyDataGetName( data ) ) ,
++ "PK11_FindPrivateKeyFromCert" ,