make DNS and URI fields work in gpgsm --gen-key.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 26 Apr 2012 08:23:39 +0000 (10:23 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 26 Apr 2012 08:23:39 +0000 (10:23 +0200)
commit8d7522837c6dba3065d24594bcdbe7b99a702cde
tree9eb187e31ab2167caeaeea997e5ac729780631c2
parent20c9ac4df34e25f7085bb4e4ab5ea7223932f5c4
make DNS and URI fields work in gpgsm --gen-key.

* sm/certreqgen-ui.c (gpgsm_gencertreq_tty): Actually set mb_uri and
mb_dns.avoid buffer strncpy-induced buffer overrun
sm/certreqgen-ui.c