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 /libsylph | |
parent | ae92cd28625c7fdc1f74b03b6f5205260025f519 (diff) |
use X509_cmp() to compare certificates.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1426 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r-- | libsylph/ssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |