hsmtest.c File Reference
`#include "config.h"`
`#include <stdio.h>`
`#include <string.h>`
`#include <stdlib.h>`
`#include <unistd.h>`
`#include "libhsm.h"`
`#include <libhsmdns.h>`
`#include "hsmtest.h"`

Go to the source code of this file.

## Functions

int | hsm_test (const char *repository, hsm_ctx_t *ctx)

## Function Documentation

## hsm_test()

int hsm_test | ( | const char * | repository,
|  | hsm_ctx_t * | ctx
| ) |  |

Definition at line 107 of file hsmtest.c.

References hsm_generate_rsa_key(), hsm_get_key_id(), hsm_print_error(), and hsm_token_attached().