diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-06-27 04:38:08 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-06-27 04:38:08 +0800 |
commit | deeb747aeb8b78e71ac87d6a63f938d73379b417 (patch) | |
tree | 4d7b79c167767cd519ef5be771266e6909c04e65 | |
parent | e3b754e4ada783e01438a108b5d56264c0080ce3 (diff) | |
download | gsoc2013-evolution-deeb747aeb8b78e71ac87d6a63f938d73379b417.tar.gz gsoc2013-evolution-deeb747aeb8b78e71ac87d6a63f938d73379b417.tar.zst gsoc2013-evolution-deeb747aeb8b78e71ac87d6a63f938d73379b417.zip |
Oops, this needs to take a userid argument.
2002-06-26 Jeffrey Stedfast <fejj@ximian.com>
* camel-multipart-encrypted.c (camel_multipart_encrypted_encrypt):
Oops, this needs to take a userid argument.
svn path=/trunk/; revision=17299
-rw-r--r-- | camel/ChangeLog | 3 | ||||
-rw-r--r-- | camel/camel-multipart-encrypted.c | 6 | ||||
-rw-r--r-- | camel/camel-multipart-encrypted.h | 4 |
3 files changed, 8 insertions, 5 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 0153a46643..c255d7d83b 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,8 @@ 2002-06-26 Jeffrey Stedfast <fejj@ximian.com> + * camel-multipart-encrypted.c (camel_multipart_encrypted_encrypt): + Oops, this needs to take a userid argument. + * camel-gpg-context.c (gpg_clearsign): Removed (never did anything anyway). diff --git a/camel/camel-multipart-encrypted.c b/camel/camel-multipart-encrypted.c index 0d77d20e19..014f02726b 100644 --- a/camel/camel-multipart-encrypted.c +++ b/camel/camel-multipart-encrypted.c @@ -137,8 +137,8 @@ camel_multipart_encrypted_new (void) int camel_multipart_encrypted_encrypt (CamelMultipartEncrypted *mpe, CamelMimePart *content, - CamelCipherContext *cipher, GPtrArray *recipients, - CamelException *ex) + CamelCipherContext *cipher, const char *userid, + GPtrArray *recipients, CamelException *ex) { CamelMimePart *version_part, *encrypted_part; CamelContentType *mime_type; @@ -170,7 +170,7 @@ camel_multipart_encrypted_encrypt (CamelMultipartEncrypted *mpe, CamelMimePart * /* encrypt the content stream */ ciphertext = camel_stream_mem_new (); - if (camel_cipher_encrypt (cipher, FALSE, NULL, recipients, stream, ciphertext, ex) == -1) { + if (camel_cipher_encrypt (cipher, FALSE, userid, recipients, stream, ciphertext, ex) == -1) { camel_object_unref (ciphertext); camel_object_unref (stream); return -1; diff --git a/camel/camel-multipart-encrypted.h b/camel/camel-multipart-encrypted.h index 9b9990a047..94bcb792cf 100644 --- a/camel/camel-multipart-encrypted.h +++ b/camel/camel-multipart-encrypted.h @@ -69,8 +69,8 @@ CamelType camel_multipart_encrypted_get_type (void); CamelMultipartEncrypted *camel_multipart_encrypted_new (void); int camel_multipart_encrypted_encrypt (CamelMultipartEncrypted *mpe, CamelMimePart *content, - CamelCipherContext *cipher, GPtrArray *recipients, - CamelException *ex); + CamelCipherContext *cipher, const char *userid, + GPtrArray *recipients, CamelException *ex); CamelMimePart *camel_multipart_encrypted_decrypt (CamelMultipartEncrypted *mpe, CamelCipherContext *cipher, |