Enhanced GnuPG key selection support.
[claws.git] / src / compose.c
index 9a0a68631d95b15ce5c613f7625263c9a5c61cf7..51137ef1c0b5c398f4546b0d2de71755ac128c5a 100644 (file)
@@ -1588,7 +1588,7 @@ static gint compose_write_to_file(Compose *compose, const gchar *file,
 
 #if USE_GPGME
        if (compose->use_signing) {
-               if (rfc2015_sign(file) < 0) {
+               if (rfc2015_sign(file, compose->account) < 0) {
                        unlink(file);
                        return -1;
                }