blob: d0e01b5a8dd544290a33105d5e69067062152872 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-ah,v 1.3 2011/01/10 10:42:02 obache Exp $
* Use proper OpenSSL stack API.
--- src/tls.c.orig 2007-07-16 20:19:37.000000000 +0000
+++ src/tls.c
@@ -807,7 +807,7 @@ int tls_check_cert(tls_t *tls, const cha
char *buf;
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? */
|