add time validity-testing to query mask

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19227 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-12-05 23:44:32 +00:00
parent caf1dff34b
commit db093bb975

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2004 - 2005 Kungliga Tekniska H<>gskolan
* Copyright (c) 2004 - 2006 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -123,7 +123,8 @@ struct hx509_query_data {
#define HX509_QUERY_MATCH_FRIENDLY_NAME 0x040000
#define HX509_QUERY_MATCH_FUNCTION 0x080000
#define HX509_QUERY_MATCH_KEY_HASH_SHA1 0x100000
#define HX509_QUERY_MASK 0x1fffff
#define HX509_QUERY_MATCH_TIME 0x200000
#define HX509_QUERY_MASK 0x3fffff
Certificate *subject;
Certificate *certificate;
heim_integer *serial;
@@ -136,6 +137,7 @@ struct hx509_query_data {
int (*cmp_func)(void *, hx509_cert);
void *cmp_func_ctx;
heim_octet_string *keyhash_sha1;
time_t timenow;
};
struct hx509_keyset_ops {