dc9194f78b
It's not possible to encode an OID with only one component, so some of the NIDs do not have encodings. The logic to actually encode OIDs checks for this (before calling der_it), but not the logic to compute the sorted OID list. Without this, OBJ_obj2nid, when given an empty OID, returns something arbitrary based on the binary search implementation instead of NID_undef. Change-Id: Ib68bae349f66eff3d193616eb26491b6668d4b0a Reviewed-on: https://boringssl-review.googlesource.com/7752 Reviewed-by: Steven Valdez <svaldez@google.com> Reviewed-by: David Benjamin <davidben@google.com> |
||
---|---|---|
.. | ||
bot | ||
32-bit-toolchain.cmake | ||
all_tests.go | ||
all_tests.json | ||
doc.config | ||
doc.css | ||
doc.go | ||
generate_build_files.py | ||
generate-asm-lcov.py | ||
generate-coverage.sh | ||
make_errors.go | ||
run_android_tests.go |