lib: crypto: enable x509_check_for_self_signed()
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Tue, 21 Jul 2020 10:35:18 +0000 (19:35 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 22 Jul 2020 10:35:04 +0000 (12:35 +0200)
commit6244b3c7d947ca6465426f18922135595ce9cd44
treee0fd4303fc21fbe735a7c8f5d3d80218b53204e3
parentb2a1049b5c364961726add2796b6028b27008ca4
lib: crypto: enable x509_check_for_self_signed()

When the file, x509_public_key.c, was imported from linux code in
    commit b4adf627d5b7 ("lib: crypto: add x509 parser"),
x509_check_for_self_signed() was commented out for simplicity.

Now it need be enabled in order to make pkcs7_verify_one(), which will be
imported in a later patch, functional.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
lib/crypto/x509_cert_parser.c
lib/crypto/x509_public_key.c