7ce10d5da7
PKCS8_encrypt and PKCS8_decrypt still need to be split. The code for processing PKCS#12 files is, for now, placed entirely in pkcs8_x509.c. If we need to split it up, it should be straightforward to do so. (Introduce a CRYPTO_BUFFER version of PKCS12_get_key_and_certs and go from there.) BUG=54 Change-Id: I9c87e916ec29ee14dbbd81c4d3fc10ac8a461f1a Reviewed-on: https://boringssl-review.googlesource.com/14214 Reviewed-by: Steven Valdez <svaldez@chromium.org> Reviewed-by: David Benjamin <davidben@google.com> Commit-Queue: Steven Valdez <svaldez@chromium.org> Commit-Queue: David Benjamin <davidben@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
30 lines
381 B
CMake
30 lines
381 B
CMake
include_directories(../../include)
|
|
|
|
add_library(
|
|
pkcs8_lib
|
|
|
|
OBJECT
|
|
|
|
pkcs8.c
|
|
pkcs8_x509.c
|
|
p5_pbev2.c
|
|
)
|
|
|
|
add_executable(
|
|
pkcs12_test
|
|
|
|
pkcs12_test.cc
|
|
|
|
$<TARGET_OBJECTS:test_support>
|
|
)
|
|
|
|
add_executable(
|
|
pkcs8_test
|
|
|
|
pkcs8_test.cc
|
|
)
|
|
|
|
target_link_libraries(pkcs8_test crypto)
|
|
target_link_libraries(pkcs12_test crypto)
|
|
add_dependencies(all_tests pkcs8_test pkcs12_test)
|