|
|
|
@ -186,6 +186,7 @@ static bool calculate_hash_for_object( struct rdf_serialize_field* layout, void*
|
|
|
|
|
sha256_easy_hash( buffer, size, &hash[0] );
|
|
|
|
|
|
|
|
|
|
// Debug
|
|
|
|
|
/*
|
|
|
|
|
printf( "RDF: \n" );
|
|
|
|
|
fwrite( buffer, size, 1, stdout );
|
|
|
|
|
printf( "\nHash: " );
|
|
|
|
@ -193,6 +194,7 @@ static bool calculate_hash_for_object( struct rdf_serialize_field* layout, void*
|
|
|
|
|
printf( "%02X", (int)((unsigned char*)hash)[i] );
|
|
|
|
|
}
|
|
|
|
|
printf( "\n" );
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
free(buffer);
|
|
|
|
|
|
|
|
|
|