]> git.karo-electronics.de Git - karo-tx-linux.git/commit
X.509: Handle certificates that lack an authorityKeyIdentifier field
authorDavid Howells <dhowells@redhat.com>
Tue, 15 Jan 2013 15:33:37 +0000 (15:33 +0000)
committerDavid Howells <dhowells@redhat.com>
Sat, 19 Jan 2013 01:05:19 +0000 (01:05 +0000)
commitb68d624a383af76bf6a9f36167233ae2123b1ccd
tree32d552cb15549b2f106a0aa6eb7925466033e2cb
parent853738d53b4d7025a19abcb2766221832b99fe87
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