diff --git a/CHANGELOG.md b/CHANGELOG.md index a2e6e073b..9e7bed379 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Set source address correctly and do not try to send ARP to unreachable destination. [#401](https://github.com/greenbone/gvm-libs/pull/401) - Increase minimum gpgme version [#405](https://github.com/greenbone/gvm-libs/pull/405) - Always NULL check ifaddrs->ifa_addr [#416](https://github.com/greenbone/gvm-libs/pull/416) +- Correct g_hash_table_remove arg [#419](https://github.com/greenbone/gvm-libs/pull/419) [20.8.1]: https://github.com/greenbone/gvm-libs/compare/v20.8.0...gvm-libs-20.08 diff --git a/osp/osp.c b/osp/osp.c index 656fef589..23fe133e6 100644 --- a/osp/osp.c +++ b/osp/osp.c @@ -1384,7 +1384,7 @@ osp_credential_set_auth_data (osp_credential_t *credential, const char *name, g_hash_table_replace (credential->auth_data, g_strdup (name), g_strdup (value)); else - g_hash_table_remove (credential->auth_data, value); + g_hash_table_remove (credential->auth_data, name); } else {