]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
utils: fix KEY_* defines
authorVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 6 Apr 2017 15:44:36 +0000 (17:44 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 6 Apr 2017 15:50:19 +0000 (17:50 +0200)
commitdb4e4d72eff588423c7151853c1628f2fccdf787
treed9beec8e828f8a0aaa3e551b4b65084564703ca8
parentc24c0386aad3a6488ff575effe0875901cecec5b
utils: fix KEY_* defines

The argument to KEY_FLAG_RANK was (signed) char*, so for secure rank
the shift was setting the highest two bits (which are unused).
Let me end that rubbish.
lib/utils.h