summaryrefslogtreecommitdiffstats
path: root/crypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypt.c')
-rw-r--r--crypt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypt.c b/crypt.c
index 19a585d0..ab82ab92 100644
--- a/crypt.c
+++ b/crypt.c
@@ -832,7 +832,7 @@ int crypt_get_keys (HEADER *msg, char **keylist, int oppenc_mode)
}
unset_option (OPTPGPCHECKTRUST);
if (option (OPTPGPSELFENCRYPT))
- self_encrypt = PgpSelfEncryptAs;
+ self_encrypt = PgpDefaultKey;
}
if ((WithCrypto & APPLICATION_SMIME)
&& (msg->security & APPLICATION_SMIME))
@@ -843,7 +843,7 @@ int crypt_get_keys (HEADER *msg, char **keylist, int oppenc_mode)
return (-1);
}
if (option (OPTSMIMESELFENCRYPT))
- self_encrypt = SmimeSelfEncryptAs;
+ self_encrypt = SmimeDefaultKey;
}
}