diff options
Diffstat (limited to 'camel/camel-pgp-context.c')
-rw-r--r-- | camel/camel-pgp-context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-pgp-context.c b/camel/camel-pgp-context.c index 9a5fa74e0e..180a1a10e2 100644 --- a/camel/camel-pgp-context.c +++ b/camel/camel-pgp-context.c @@ -1003,7 +1003,7 @@ pgp_verify (CamelCipherContext *ctx, CamelCipherHash hash, CamelStream *istream, if (!locale) locale = "iso-8859-1"; - cd = iconv_open ("UTF-8", locale); + cd = camel_charset_iconv_open ("UTF-8", locale); if (cd != (iconv_t) -1) { const char *inbuf; int ret; @@ -1013,7 +1013,7 @@ pgp_verify (CamelCipherContext *ctx, CamelCipherHash hash, CamelStream *istream, if (ret >= 0) { iconv (cd, NULL, 0, &outbuf, &outlen); } - iconv_close (cd); + camel_charset_iconv_close (cd); *outbuf = '\0'; } else { |