correct string length for MITM paramters curses dialog

This pull requests intends to fix the curses bug issued in #435.