From ae21723d2a8dc1ebf871ad6b1bb9fe5ffd11bf0a Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Fri, 22 Jun 2018 14:18:43 +0200 Subject: [PATCH] shared: use nm_hash_update() instead of c_siphash_append() In our own code, there are very few places where we should call c_siphash_append() directly. This is not one of them. --- shared/nm-utils/nm-hash-utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/nm-utils/nm-hash-utils.h b/shared/nm-utils/nm-hash-utils.h index b7742e0fe3..d0bb6cf9b8 100644 --- a/shared/nm-utils/nm-hash-utils.h +++ b/shared/nm-utils/nm-hash-utils.h @@ -168,7 +168,7 @@ nm_hash_update_mem (NMHashState *state, const void *ptr, gsize n) * instead. */ nm_hash_update (state, &n, sizeof (n)); if (n > 0) - c_siphash_append (&state->_state, ptr, n); + nm_hash_update (state, ptr, n); } static inline void