Update ooo320-m1
[ooovba.git] / applied_patches / 0088-libxmlsec-findcerts.diff
blobb3e15d2c2b72e55eaf55931d4a8efb5770fabf17
1 --- libxmlsec/xmlsec1-1.2.6.patch.orig 2007-11-22 15:19:54.000000000 +0100
2 +++ libxmlsec/xmlsec1-1.2.6.patch 2007-11-22 15:19:29.000000000 +0100
3 @@ -14100,7 +14100,7 @@
4 + */
5 + slot = cert->slot ;
6 + if( ( keyInfoCtx->keyReq.keyType & xmlSecKeyDataTypePrivate ) == xmlSecKeyDataTypePrivate ) {
7 -+ if( ( priKey = PK11_FindPrivateKeyFromCert( slot , cert , NULL ) ) == NULL ) {
8 ++ if( ( priKey = PK11_FindKeyByAnyCert( cert , NULL ) ) == NULL ) {
9 + xmlSecError( XMLSEC_ERRORS_HERE ,
10 + xmlSecErrorsSafeString( xmlSecKeyDataGetName( data ) ) ,
11 + "PK11_FindPrivateKeyFromCert" ,