Skip to content

Use amended version of gnulib's hash_pjw_bare()

Tim Rühsen requested to merge tmp-amended-hash into master
  • Amended hash_pjw_bare() to return 'unsigned int' instead of 'size_t'.
  • Renamed the hash function to _asn1_hash().
  • Added a suppression for clang's UBSAN, needed for fuzzing.

Closes #13 (closed)

Checklist

  • [*] Code modified for feature
  • Test suite updated with functionality tests
  • Test suite updated with negative tests
  • Documentation updated

Reviewer's checklist:

  • There is a test suite reasonably covering new functionality or modifications
  • Function naming, parameters, return values, types, etc., are consistent with other code
  • This feature/change has adequate documentation added
  • No obvious mistakes in the code

Merge request reports