Update dhtest.c: Fix stack smashing temporarily.

*** stack smashing detected ***: ./dhtest terminated