blob: 7b1d39490baea573be64544d80412ad7284a476b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/* file : tests/basic/driver.c
* license : OpenSSL and SSLeay Licenses; see accompanying LICENSE file
*/
#include <stdio.h>
#include <assert.h>
#include <openssl/crypto.h>
int
main ()
{
assert (OPENSSL_init_crypto (0 /* opts */, NULL /* settings */) == 1);
printf ("version: %s\n", OpenSSL_version (OPENSSL_VERSION));
printf ("%s\n", OpenSSL_version (OPENSSL_BUILT_ON));
printf ("%s\n", OpenSSL_version (OPENSSL_PLATFORM));
printf ("%s\n", OpenSSL_version (OPENSSL_CFLAGS));
printf ("%s\n", OpenSSL_version (OPENSSL_DIR));
printf ("%s\n", OpenSSL_version (OPENSSL_ENGINES_DIR));
return 0;
}
|