boringssl/crypto/pkcs7
David Benjamin 79c97bf37c Allow empty return values from PKCS7_get_*.
Right now we're inconsistent about it. If the OPTIONAL container is
missing, we report an error, but if the container is empty, we happily
return nothing. The latter behavior is more convenient for emulating
OpenSSL's PKCS#7 functions.

These are our own functions, so we have some leeway here. Looking
through callers, they appear to handle this fine.

Update-Note: This is a behavior change.
Change-Id: I1321025a64df3054d380003c90e57d9eb95e610f
Reviewed-on: https://boringssl-review.googlesource.com/29364
Reviewed-by: Adam Langley <agl@google.com>
2018-06-26 07:24:51 +00:00
..
CMakeLists.txt Move pkcs{7,8}_test over to gtest 2017-06-02 16:53:41 +00:00
internal.h Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
pkcs7_test.cc Properly advance the CBS when parsing BER structures. 2018-06-26 07:23:10 +00:00
pkcs7_x509.c Allow empty return values from PKCS7_get_*. 2018-06-26 07:24:51 +00:00
pkcs7.c Allow empty return values from PKCS7_get_*. 2018-06-26 07:24:51 +00:00