diff options
author | Stef Walter <stefw@gnome.org> | 2013-01-02 16:06:19 +0100 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2013-02-05 14:54:53 +0100 |
commit | 18bb2582c32f4373f7ed85894fb490f2733cb03b (patch) | |
tree | 3ecdcbc5451beb67e095ebaf0f233cdfd680ad94 /common/compat.c | |
parent | 3b482acc47ba971406db526ebddf589ad1a8f16e (diff) | |
download | p11-kit-18bb2582c32f4373f7ed85894fb490f2733cb03b.tar.gz |
Implement stapled certificate extensions internally
* Use stapled certificate extensions to represent loaded trust policy
* Build NSS trust objects from stapled certificate extensions
* Add further attribute debugging for NSS trust objects
* Use a custom certificate extension for the OpenSSL reject purpose data
* Use SubjectKeyIdentifier for OpenSSL keyid data
* Use ExtendedKeyUsage for OpenSSL trust purpose data
* Implement simple way to handle binary DER OIDs, using the DER TLV
length. DER OIDs are used in the CKA_OBJECT_ID value, and elsewhere.
* Split out the building of NSS trust objects from the main parser
Diffstat (limited to 'common/compat.c')
-rw-r--r-- | common/compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/compat.c b/common/compat.c index 74fb130..b917cfa 100644 --- a/common/compat.c +++ b/common/compat.c @@ -255,7 +255,7 @@ strnstr (const char *s, #ifndef HAVE_MEMDUP void * -memdup (void *data, +memdup (const void *data, size_t length) { void *dup; |