apps/dgst.c: allocate a new signature buffer