diff options
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; +} |