X.509: Handle certificates that lack an authorityKeyIdentifier field
authorDavid Howells <dhowells@redhat.com>
Fri, 30 Aug 2013 15:18:31 +0000 (16:18 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 25 Sep 2013 16:17:01 +0000 (17:17 +0100)
commit17334cabc814f8847975cddc0e29291af6093464
tree0f4574a955b501557c04c4381d51dbaa439c9473
parent2ecdb23b8c545fbee95caad0f2e45082787563ee
X.509: Handle certificates that lack an authorityKeyIdentifier field

Handle certificates that lack an authorityKeyIdentifier field by assuming
they're self-signed and checking their signatures against themselves.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Josh Boyer <jwboyer@redhat.com>
crypto/asymmetric_keys/x509_public_key.c