repo.or.cz
/
libisds.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update comment at isds_get_box_list_archive()
[libisds.git]
/
test
/
offline
/
init_crypto.c
blob
db610eaf5039875e29ca71cb310c5df05eeee2e5
1
#include
"../test.h"
2
#include
"crypto.h"
3
4
static int
test_init_crypto
(
const
isds_error error
) {
5
isds_error err
;
6
7
err
=
_isds_init_crypto
();
8
if
(
err
!=
error
)
9
FAIL_TEST
(
"Wrong return value"
);
10
11
PASS_TEST
;
12
}
13
14
int
main
(
void
) {
15
16
INIT_TEST
(
"init_gpgme"
);
17
18
TEST
(
"initialization"
,
test_init_crypto
,
IE_SUCCESS
);
19
20
SUM_TEST
();
21
}