Go to file
Adam Langley 5127db3b4d Provide compatibility functions for PKCS#12 parsing.
In order to minimise the upstream diffs needed for bits of Android to
build with BoringSSL, this change implements the old style PKCS#12
functions as wrappers around the modern parser.

The function to read all the contents of a BIO could almost be a utility
function but I'll wait until there are two uses for it first.

The important change from the original functions is that these will
always read the complete buffer/BIO/FILE passed in. Based on a survey of
uses of d2i_PKCS12 that I found, this appears to be universally what
callers want anyway.

Change-Id: I3f5b84e710b161d975f91f4d16c83d44371368d1
Reviewed-on: https://boringssl-review.googlesource.com/1791
Reviewed-by: Adam Langley <agl@google.com>
2014-09-20 00:10:03 +00:00
crypto Provide compatibility functions for PKCS#12 parsing. 2014-09-20 00:10:03 +00:00
doc Inital import. 2014-06-20 13:17:32 -07:00
include/openssl Provide compatibility functions for PKCS#12 parsing. 2014-09-20 00:10:03 +00:00
ssl Add missing errors codes for alerts. 2014-09-17 16:42:14 +00:00
tool Provide compatibility functions for PKCS#12 parsing. 2014-09-20 00:10:03 +00:00
util Fix doc.config for header files being moved. 2014-09-02 22:42:43 +00:00
.clang-format Inital import. 2014-06-20 13:17:32 -07:00
.gitignore Inital import. 2014-06-20 13:17:32 -07:00
BUILDING Increase minimum required cmake version 2014-08-18 17:23:37 +00:00
CMakeLists.txt Increase minimum required cmake version 2014-08-18 17:23:37 +00:00