]> source.dussan.org Git - nextcloud-server.git/commit
Make sure that hash function returns a string
authorCôme Chilliet <come.chilliet@nextcloud.com>
Thu, 18 Nov 2021 09:30:35 +0000 (10:30 +0100)
committerCôme Chilliet <come.chilliet@nextcloud.com>
Mon, 13 Dec 2021 08:39:55 +0000 (09:39 +0100)
commitfbed00bab4bc044309344799dcb386f48ecf4c6e
treef1dc6844377adf5b60b5dbd102e82b0f7449c757
parent98476a9d5d2da1ec5c541dbce6522d7ac864020d
Make sure that hash function returns a string

The documentation says it can return false, and even if that is highly
 unlikely for sha256, better safe than sorry.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
apps/user_ldap/lib/Mapping/AbstractMapping.php