diff options
Diffstat (limited to 'ffi/examples/configure.c')
-rw-r--r-- | ffi/examples/configure.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ffi/examples/configure.c b/ffi/examples/configure.c index 9e986613..38b15c05 100644 --- a/ffi/examples/configure.c +++ b/ffi/examples/configure.c @@ -20,14 +20,14 @@ main (int argc, char **argv) ctx = sq_config_build (cfg, &err); if (ctx == NULL) error (1, 0, "Initializing sequoia failed: %s", - pgp_error_string (err)); + pgp_error_to_string (err)); ks = sq_keyserver_sks_pool (ctx); if (ks == NULL) { pgp_error_t err = sq_context_last_error (ctx); assert (pgp_error_status (err) == PGP_STATUS_NETWORK_POLICY_VIOLATION); - char *msg = pgp_error_string (err); + char *msg = pgp_error_to_string (err); error (0, 0, "Initializing KeyServer failed as expected: %s", msg); free (msg); |