• Show log

    Commit

  • Hash : 7fd3f32b
    Author : Patrick Steinhardt
    Date : 2019-06-27T13:54:55

    hash: fix missing error return on production builds
    
    When no hash algorithm has been initialized in a given hash context,
    then we will simply `assert` and not return a value at all. This works
    just fine in debug builds, but on non-debug builds the assert will be
    converted to a no-op and thus we do not have a proper return value.
    
    Fix this by returning an error code in addition to the asserts.