81fd89ef63
* src/common/Makefile.am * src/common/nntp.c * src/common/nntp.h * src/etpan/Makefile.am * src/etpan/etpan-thread-manager-types.h * src/etpan/etpan-thread-manager.c * src/etpan/imap-thread.c * src/etpan/nntp-thread.c * src/etpan/nntp-thread.h * src/news.c * src/news.h Rewrite the nntp implementation to use libetpan. Non-blocking NNTP! * src/account.c * src/crash.c * src/imap.c * src/inc.c * src/main.c * src/mainwindow.c * src/pop.c * src/pop.h * src/prefs_account.c * src/recv.c * src/recv.h * src/send_message.c * src/send_message.h * src/ssl_manager.c * src/ssl_manager.h * src/wizard.c * src/common/claws.c * src/common/session.c * src/common/session.h * src/common/smtp.c * src/common/smtp.h * src/common/socket.c * src/common/socket.h * src/common/ssl.c * src/common/ssl.h * src/common/ssl_certificate.c * src/common/ssl_certificate.h * src/gtk/about.c * src/gtk/sslcertwindow.c * src/gtk/sslcertwindow.h Implement GnuTLS support. GnuTLS support will be used if OpenSSL isn't available, or specified explicitely. (the reason is that GnuTLS cerficate checking is a bit less practical than OpenSSL's)
43 lines
1.3 KiB
C
43 lines
1.3 KiB
C
/*
|
|
* Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
|
|
* Copyright (C) 1999-2007 Colin Leroy <colin@colino.net>
|
|
* and the Claws Mail team
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
*/
|
|
|
|
#ifndef __SSL_CERTWINDOW_H__
|
|
#define __SSL_CERTWINDOW_H__
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
# include "config.h"
|
|
#endif
|
|
|
|
#if (defined(USE_OPENSSL) || defined (USE_GNUTLS))
|
|
#ifdef USE_OPENSSL
|
|
#include <openssl/ssl.h>
|
|
#include <openssl/objects.h>
|
|
#else
|
|
/* GNUTLS */
|
|
#endif
|
|
#include <glib.h>
|
|
#include <gtk/gtk.h>
|
|
#include "ssl_certificate.h"
|
|
|
|
void sslcertwindow_show_cert(SSLCertificate *cert);
|
|
void sslcertwindow_register_hook(void);
|
|
|
|
#endif /* USE_OPENSSL */
|
|
#endif /* __SSL_CERTWINDOW_H__ */
|