* lisp/gnus/mml-sec.el (mml-secure-epg-sign): Only query if we're
running interactively. This makes a test not hang.
(signers (mml-secure-signers context signer-names))
signature micalg)
(unless signers
- (if (mml-secure-sender-sign-query protocol sender)
+ (if (and (not noninteractive)
+ (mml-secure-sender-sign-query protocol sender))
(setq signer-names (mml-secure-signer-names protocol sender)
signers (mml-secure-signers context signer-names)))
(unless signers