xmlsec1-customkeymanage.patch (a893be29) xmlsec1-customkeymanage.patch (509df7cb)
1--- misc/xmlsec1-1.2.14/include/xmlsec/mscrypto/Makefile.am 2009-06-25 22:53:18.000000000 +0200
2+++ misc/build/xmlsec1-1.2.14/include/xmlsec/mscrypto/Makefile.am 2009-09-21 14:02:48.563253008 +0200
3@@ -3,6 +3,7 @@
4 xmlsecmscryptoincdir = $(includedir)/xmlsec1/xmlsec/mscrypto
5
6 xmlsecmscryptoinc_HEADERS = \
7+akmngr.h \
8 app.h \

--- 3083 unchanged lines hidden (view full) ---

3092+ }
3093+ }
3094+
3095+ if( context->material == NULL && last != 0 ) {
3096+ xmlSecError( XMLSEC_ERRORS_HERE ,
3097+ xmlSecErrorsSafeString( xmlSecTransformGetName( transform ) ) ,
3098+ NULL ,
3099+ XMLSEC_ERRORS_R_INVALID_STATUS ,
1--- misc/xmlsec1-1.2.14/include/xmlsec/mscrypto/Makefile.am 2009-06-25 22:53:18.000000000 +0200
2+++ misc/build/xmlsec1-1.2.14/include/xmlsec/mscrypto/Makefile.am 2009-09-21 14:02:48.563253008 +0200
3@@ -3,6 +3,7 @@
4 xmlsecmscryptoincdir = $(includedir)/xmlsec1/xmlsec/mscrypto
5
6 xmlsecmscryptoinc_HEADERS = \
7+akmngr.h \
8 app.h \

--- 3083 unchanged lines hidden (view full) ---

3092+ }
3093+ }
3094+
3095+ if( context->material == NULL && last != 0 ) {
3096+ xmlSecError( XMLSEC_ERRORS_HERE ,
3097+ xmlSecErrorsSafeString( xmlSecTransformGetName( transform ) ) ,
3098+ NULL ,
3099+ XMLSEC_ERRORS_R_INVALID_STATUS ,
3100+ "No enough data to intialize transform" ) ;
3100+ "No enough data to initialize transform" ) ;
3101+ return(-1);
3102+ }
3103+
3104+ if( context->material != NULL ) {
3105+ rtv = xmlSecNssKeyWrapCtxUpdate( context, inBuf , outBuf , operation , transformCtx ) ;
3106+ if( rtv < 0 ) {
3107+ xmlSecError( XMLSEC_ERRORS_HERE ,
3108+ xmlSecErrorsSafeString( xmlSecTransformGetName( transform ) ) ,

--- 2957 unchanged lines hidden ---
3101+ return(-1);
3102+ }
3103+
3104+ if( context->material != NULL ) {
3105+ rtv = xmlSecNssKeyWrapCtxUpdate( context, inBuf , outBuf , operation , transformCtx ) ;
3106+ if( rtv < 0 ) {
3107+ xmlSecError( XMLSEC_ERRORS_HERE ,
3108+ xmlSecErrorsSafeString( xmlSecTransformGetName( transform ) ) ,

--- 2957 unchanged lines hidden ---