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 @@
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" ,