Home GnuPG

Don't use a static initializer to initialize PINENTRY.
de3241ae0bc9Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Don't use a static initializer to initialize PINENTRY.

* pinentry/pinentry.c (pinentry): Don't use a static initializer.
(pinentry_reset): Initialize PINENTRY here.
(pinentry_parse_opts): Call pinentry_reset here.
(pinentry_assuan_reset_handler): New function.
(pinentry_loop2): Register it as the assuan reset handler.

Details

Provenance
nealAuthored on May 16 2015, 2:56 PM
Parents
rP9fdb05554b5f: Don't emit the LC_CTYPE-not-set warning more than once.
Branches
Unknown
Tags
Unknown