Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 0628cab3 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

change method to overwrite date in generated hashed xml

parent 587f8905
No related branches found
No related tags found
No related merge requests found
......@@ -264,7 +264,7 @@ namespace TUGraz.VectoHashing
if (dateNode == null) {
throw new Exception("Date-Element not found in input!");
}
dateNode.FirstChild.Value = XmlConvert.ToString(DateTime.Now, XmlDateTimeSerializationMode.Utc);
dateNode.InnerText = XmlConvert.ToString(DateTime.Now, XmlDateTimeSerializationMode.Utc);
var hash = XMLHashProvider.ComputeHash(Document, id, XMLHashProvider.DefaultCanonicalizationMethod,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment