summaryrefslogtreecommitdiff
path: root/identity/support/src/cppbor_parse.cpp
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@google.com>2020-08-26 15:36:41 -0400
committerDavid Benjamin <davidben@google.com>2020-08-26 15:38:47 -0400
commit45ff9aa8ffc450f3f57dc25c6ff2c5c3d0657b7f (patch)
tree14f76e4d23a22784fc9fad35bc39c91396b45f68 /identity/support/src/cppbor_parse.cpp
parent8a42374ffa4c1a0e40944733ce5bdd379d32272b (diff)
Avoid unnecessary access of BoringSSL structs.
Checking cert_info->key->algor->algorithm is redundant with the checks following it. If the public key is an EC key, that was the OID. Remove the check so this code does not break when BoringSSL makes the X509 structures opaque in the future. While we're not particularly aiming to make ECDSA_SIG opaque, getters exist, so go ahead and use them. Test: mm, treehugger Change-Id: I1b37fef2290b7697a6e821f20ba702b3da5ef18d
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions