Integrate pinentry-mac into pinentry

Werner Koch wk at
Tue Dec 1 12:54:51 CET 2015

On Fri, 27 Nov 2015 20:19, dkg at said:

> And pinentry does use gettext in pinentry/argparse.c and secmem/util.c
> (both copied from other projects, so maybe we can ignore that?).

Actually it does not.  In argparse we have this code

  # ifndef _
  #  define _(a)  (a)
  # endif

so we define the usual _() macro to a nop unless the file is used in
GnuPG.  The use of _() in secmem/util.c is inactive code.

> rather, requires that non-GnuPG projects provide well-localized strings
> directly to pinentry instead of depending on its defaults).
> It would be good to add this caveat to doc/HACKING so people better
> understand the constraints for pinentry.

I will do so.



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

More information about the Gnupg-devel mailing list