X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mutt_ssl_gnutls.c;h=e915b666c1b5634ef24088c2a9cef7f2ec58ec95;hp=c5429ccb61114aebf69361c2a8d934573eda344a;hb=377cbd44d1e296a96a5d07c1f26386a4fff80cc9;hpb=faed98ab64dd3cbd29e674141cd074d6c9f8909c diff --git a/mutt_ssl_gnutls.c b/mutt_ssl_gnutls.c index c5429cc..e915b66 100644 --- a/mutt_ssl_gnutls.c +++ b/mutt_ssl_gnutls.c @@ -16,8 +16,15 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */ +#if HAVE_CONFIG_H +# include "config.h" +#endif + #include #include +#ifdef HAVE_GNUTLS_OPENSSL_H +#include +#endif #include "mutt.h" #include "mutt_socket.h" @@ -456,7 +463,7 @@ static int tls_check_certificate (CONNECTION* conn) char helpstr[SHORT_STRING]; char buf[SHORT_STRING]; char fpbuf[SHORT_STRING]; - int buflen; + size_t buflen; char dn_common_name[SHORT_STRING]; char dn_email[SHORT_STRING]; char dn_organization[SHORT_STRING];