Changeset 3729:df4e6526157f

Show
Ignore:
Timestamp:
2004-08-16 14:34:22 (4 years ago)
Author:
Moritz Schulte <moritz@…>
Branch:
HEAD
Message:

Only print "Encrypt with" field in case the used S/MIME modules
supports this feature.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • compose.c

    r3689 r3729  
    156156 
    157157  if ((WithCrypto & APPLICATION_SMIME) 
    158        && msg->security & APPLICATION_SMIME  && (msg->security & ENCRYPT)) { 
     158      && (msg->security & APPLICATION_SMIME) 
     159      && (msg->security & ENCRYPT) 
     160      && SmimeCryptAlg 
     161      && *SmimeCryptAlg) { 
    159162      mvprintw (HDR_CRYPTINFO, 40, "%s%s", _("Encrypt with: "), 
    160163                NONULL(SmimeCryptAlg));