]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Make verify-high structures internally accessible (for OCSP).
authorSimon Josefsson <simon@josefsson.org>
Thu, 10 Nov 2011 11:37:04 +0000 (12:37 +0100)
committerSimon Josefsson <simon@josefsson.org>
Thu, 10 Nov 2011 11:37:04 +0000 (12:37 +0100)
lib/x509/Makefile.am
lib/x509/verify-high.c

index f5f6efff4f13b2e7c217f4bb04abd3f319911c37..68412c79ec213ed73e328d537b020fc210708cb2 100644 (file)
@@ -54,5 +54,6 @@ libgnutls_x509_la_SOURCES =   \
        verify.c                \
        x509.c                  \
        x509_int.h              \
-       x509_write.c    \
-       verify-high.c
+       x509_write.c            \
+       verify-high.c           \
+       verify-high.h
index 17ede2456583181966c7184f8ebd4ea8305d8e45..b0efe32d40da244fb712a5e7453fee6c676d6a43 100644 (file)
 #include <hash.h>
 #include "x509_int.h"
 #include <common.h>
+#include "verify-high.h"
 
 #define DEFAULT_SIZE 503
-#define INIT_HASH 0x33a1
-
-struct named_cert_st {
-    gnutls_x509_crt_t cert;
-    uint8_t name[MAX_NAME_SIZE];
-    unsigned int name_size;
-};
-
-struct node_st {
-    /* The trusted certificates */
-    gnutls_x509_crt_t *trusted_cas;
-    unsigned int trusted_ca_size;
-
-    struct named_cert_st *named_certs;
-    unsigned int named_cert_size;
-
-    /* The trusted CRLs */
-    gnutls_x509_crl_t *crls;
-    unsigned int crl_size;
-};
-
-struct gnutls_x509_trust_list_st {
-    int size;
-    struct node_st *node;
-};
 
 /**
  * gnutls_x509_trust_list_init: