For the record -- I used the code you provided with three minor changes:
(a) in lieu of CONFIG_DIR, I used nullptr, (b) I released the context at
the end of the code, and (c) I used C++14isms like nullptr, auto, and so
on.

It compiled and ran just fine.  This makes me think the problem is in
GnuPG's entropy collection and/or key generation -- not your code.

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to