X.509: Check the algorithm IDs obtained from parsing an X.509 certificate
authorDavid Howells <dhowells@redhat.com>
Fri, 30 Aug 2013 15:18:15 +0000 (16:18 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 25 Sep 2013 16:17:01 +0000 (17:17 +0100)
commit2ecdb23b8c545fbee95caad0f2e45082787563ee
tree14884783575a49feb510a7e402747c076c076792
parentb426beb6eeb0c81aeaa419f7444064abc9cb04ae
X.509: Check the algorithm IDs obtained from parsing an X.509 certificate

Check that the algorithm IDs obtained from the ASN.1 parse by OID lookup
corresponds to algorithms that are available to us.

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