security: simplify choose_mech
Coverity CID 1299424 identified dead code because of checks that could never equal true (if the mechanism's name was NULL). Simplified the function by removing a level of pointers and removing the loop and array that weren't used.
parent
fda0e74c
Please register or sign in to comment