2006-05-16 [wwp] 2.2.0cvs20
[claws.git] / src / etpan / imap-thread.c
index 4bec14c7783d64d01e71cc0a7f277534a6cabbaa..465d14aec3ef2827bf74d38f151a0178649d5cd5 100644 (file)
@@ -338,7 +338,7 @@ static int etpan_certificate_check(const unsigned char *certificate, int len, vo
                g_warning("no cert presented.\n");
                return 0;
        }
-       cert = d2i_X509(NULL, &certificate, len);
+       cert = d2i_X509(NULL, (unsigned char **) &certificate, len);
        if (cert == NULL) {
                g_warning("can't get cert\n");
                return 0;