Merge lorikeet-heimdal -r 787 into Samba4 tree.
[kai/samba.git] / source4 / heimdal / lib / hx509 / hx_locl.h
index 145bfcc006d038c215b6cd74b8a54cf5742f3286..6d89167bfcb53bd33773ec30b3192f3a399238bd 100644 (file)
@@ -31,7 +31,7 @@
  * SUCH DAMAGE. 
  */
 
-/* $Id: hx_locl.h 21083 2007-06-13 02:11:19Z lha $ */
+/* $Id: hx_locl.h 22538 2008-01-27 13:05:47Z lha $ */
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
@@ -128,7 +128,8 @@ struct hx509_query_data {
 #define HX509_QUERY_MATCH_FUNCTION             0x080000
 #define HX509_QUERY_MATCH_KEY_HASH_SHA1                0x100000
 #define HX509_QUERY_MATCH_TIME                 0x200000
-#define HX509_QUERY_MASK                       0x3fffff
+#define HX509_QUERY_MATCH_EKU                  0x400000
+#define HX509_QUERY_MASK                       0x7fffff
     Certificate *subject;
     Certificate *certificate;
     heim_integer *serial;
@@ -142,6 +143,7 @@ struct hx509_query_data {
     void *cmp_func_ctx;
     heim_octet_string *keyhash_sha1;
     time_t timenow;
+    heim_oid *eku;
 };
 
 struct hx509_keyset_ops {