diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-01-18 22:19:54 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-01-22 15:46:09 +0300 |
commit | 004bb71d88ed54eb4d540d14491bf86256a952fd (patch) | |
tree | b381d80f22682e29651370701d798a2e3dfebccc /libca-certificates-curl/tests/basics/driver.c | |
parent | 66e25bf08b493258642cb844b987fd96afa39c7b (diff) |
Add implementation
Diffstat (limited to 'libca-certificates-curl/tests/basics/driver.c')
-rw-r--r-- | libca-certificates-curl/tests/basics/driver.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libca-certificates-curl/tests/basics/driver.c b/libca-certificates-curl/tests/basics/driver.c new file mode 100644 index 0000000..f52b3d8 --- /dev/null +++ b/libca-certificates-curl/tests/basics/driver.c @@ -0,0 +1,19 @@ +/* file : tests/basic/driver.c + * copyright : Copyright (c) 2009-2019 Code Synthesis Tools CC + * license : Mozilla Public License 2.0; see accompanying LICENSE file + */ +#include <stdio.h> + +#include <libca-certificates-curl/path.h> +#include <libca-certificates-curl/version.h> + +/* Usage: argv[0] + * + * Print the CA certificates file path to stdout. + */ +int +main () +{ + printf ("%s\n", ca_certificates_file ()); + return 0; +} |