$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? */
