diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-12-14 03:37:32 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-12-14 03:37:32 +0000 |
commit | d1366c278bf05e587db7073315c75b192a91be7c (patch) | |
tree | 29687c2cbb4d78e1800e2c4bbc3f6e01349c6607 | |
parent | ae92cd28625c7fdc1f74b03b6f5205260025f519 (diff) |
use X509_cmp() to compare certificates.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1426 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ChangeLog.ja | 4 | ||||
-rw-r--r-- | libsylph/ssl.c | 2 |
3 files changed, 9 insertions, 1 deletions
@@ -4,6 +4,10 @@ 2006-12-14 + * libsylph/ssl.c: x509_cmp_func(): use X509_cmp(). + +2006-12-14 + * src/compose.c src/prefs_template.c src/template.[ch]: added Bcc: and Reply-To: to the template. diff --git a/ChangeLog.ja b/ChangeLog.ja index c009db86..3c052410 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -4,6 +4,10 @@ 2006-12-14 + * libsylph/ssl.c: x509_cmp_func(): X509_cmp() を使用。 + +2006-12-14 + * src/compose.c src/prefs_template.c src/template.[ch]: テンプレートに Bcc: と Reply-To: を追加。 diff --git a/libsylph/ssl.c b/libsylph/ssl.c index 80808d1b..69659c4d 100644 --- a/libsylph/ssl.c +++ b/libsylph/ssl.c @@ -127,7 +127,7 @@ static gint x509_cmp_func(gconstpointer a, gconstpointer b) const X509 *xa = a; const X509 *xb = b; - return X509_issuer_and_serial_cmp(xa, xb); + return X509_cmp(xa, xb); } gboolean ssl_init_socket_with_method(SockInfo *sockinfo, SSLMethod method) |