Hi, when I call the function xmlSecDSigResultDebugDump, the program crash. I think that the error is in: if(result->key != NULL) { xmlSecKeyDebugDump(result->key, output); } Regards, lidia