2001-04-22 Jeffrey Stedfast <fejj@ximian.com>
* camel-pgp-context.c (pgp_verify): Oops, don't use the return
value of iconv() as a string length, it only tells us the number
of non-reversable character conversions. This fixes it so we
actually see the gpg output in the message viewer.
+2001-04-22 Jeffrey Stedfast <fejj@ximian.com>
+
+ * camel-pgp-context.c (pgp_verify): Oops, don't use the return
+ value of iconv() as a string length, it only tells us the number
+ of non-reversable character conversions. This fixes it so we
+ actually see the gpg output in the message viewer.
+
2001-04-23 Mikael Hallendal <micke@codefactory.se>
* providers/nntp/Makefile.am (INCLUDES):
g_free (locale);
if (cd != (iconv_t) -1) {
const char *inbuf;
- size_t len;
inbuf = diagnostics;
- len = iconv (cd, &inbuf, &inlen, &outbuf, &outlen);
+ iconv (cd, &inbuf, &inlen, &outbuf, &outlen);
iconv_close (cd);
- desc[len] = '\0';
+ *outbuf = '\0';
} else {
const char *inptr, *inend;
unicode_char_t c;
#include <nss.h>
#include <cert.h>
#include <secpkcs7.h>
+#include <secmime.h>
#include <gtk/gtk.h> /* for _() macro */