summaryrefslogtreecommitdiffstats
path: root/vespalib/CMakeLists.txt
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@verizonmedia.com>2020-02-20 12:03:41 +0000
committerTor Brede Vekterli <vekterli@verizonmedia.com>2020-02-20 14:23:24 +0000
commitae87223307b0fe3294e27d86719c3acb702ffed6 (patch)
treef7e4da24416919f2f2754cac3ad208e8baf6efc3 /vespalib/CMakeLists.txt
parentacfb0463e55aa4878cc3087ffcee356696eabf2a (diff)
Move crypto utility code out into vespalib and use for test credentials
Currently offers only the following functionality: * Generate P-256 EC private keys and export to PEM * Generate X509 certificates and export to PEM Instead of using hardcoded private key/certs for unit tests, use crypto utility code to generate new credentials once per test process. Since these certs now use a SAN of `localhost` it also means we no longer need to disable hostname validation for networked unit tests.
Diffstat (limited to 'vespalib/CMakeLists.txt')
-rw-r--r--vespalib/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/vespalib/CMakeLists.txt b/vespalib/CMakeLists.txt
index 9339cdacea0..979184acbae 100644
--- a/vespalib/CMakeLists.txt
+++ b/vespalib/CMakeLists.txt
@@ -30,6 +30,7 @@ vespa_define_module(
src/tests/component
src/tests/compress
src/tests/compression
+ src/tests/crypto
src/tests/data/databuffer
src/tests/data/input_reader
src/tests/data/lz4_encode_decode
@@ -139,6 +140,7 @@ vespa_define_module(
src/vespa/vespalib
src/vespa/vespalib/btree
src/vespa/vespalib/component
+ src/vespa/vespalib/crypto
src/vespa/vespalib/data
src/vespa/vespalib/data/slime
src/vespa/vespalib/datastore