diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-07-05 15:34:35 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-07-05 15:34:35 +0200 |
commit | 3b76e79f14e279a6526809e630e45e4f760d77de (patch) | |
tree | bb479b57c7ad1362f05a0532a7133c0c5232dfeb /package/mutt/patches/patch-mutt_ssl_c | |
parent | 9bfe4f2061f377306619fa479bc0e7adafb22125 (diff) | |
parent | 1879491b2b6e799b20ac06d1b510726eb200944f (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/mutt/patches/patch-mutt_ssl_c')
-rw-r--r-- | package/mutt/patches/patch-mutt_ssl_c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/mutt/patches/patch-mutt_ssl_c b/package/mutt/patches/patch-mutt_ssl_c new file mode 100644 index 000000000..160dc668c --- /dev/null +++ b/package/mutt/patches/patch-mutt_ssl_c @@ -0,0 +1,20 @@ +--- mutt-1.5.20.orig/mutt_ssl.c 2009-06-10 07:08:29.000000000 +0200 ++++ mutt-1.5.20/mutt_ssl.c 2010-06-02 19:53:33.141613592 +0200 +@@ -652,7 +652,7 @@ static int check_host (X509 *x509cert, c + char *buf = NULL; + int bufsize; + /* needed to get the DNS subjectAltNames: */ +- STACK *subj_alt_names; ++ STACK_OF(GENERAL_NAME) *subj_alt_names; + int subj_alt_names_count; + GENERAL_NAME *subj_alt_name; + /* did we find a name matching hostname? */ +@@ -735,7 +735,7 @@ static int ssl_cache_trusted_cert (X509 + { + dprint (1, (debugfile, "trusted: %s\n", c->name)); + if (!SslSessionCerts) +- SslSessionCerts = sk_new_null(); ++ SslSessionCerts = sk_X509_new_null(); + return (sk_X509_push (SslSessionCerts, X509_dup(c))); + } + |