aboutsummaryrefslogtreecommitdiffstats
path: root/g10/hkp.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/hkp.c')
-rw-r--r--g10/hkp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/g10/hkp.c b/g10/hkp.c
index a608f001d..b60b3cc6f 100644
--- a/g10/hkp.c
+++ b/g10/hkp.c
@@ -69,8 +69,8 @@ hkp_ask_import( u32 *keyid )
rc = http_open_document( &hd, request, 0 );
if( rc ) {
log_info("can't get key from keyserver: %s\n",
- rc == G10ERR_NETWORK? strerror(errno)
- : g10_errstr(rc) );
+ rc == GPGERR_NETWORK? strerror(errno)
+ : gpg_errstr(rc) );
}
else {
rc = import_keys_stream( hd.fp_read , 0 );
@@ -147,8 +147,8 @@ hkp_export( STRLIST users )
if( rc ) {
log_error("can't connect to `%s': %s\n",
opt.keyserver_name,
- rc == G10ERR_NETWORK? strerror(errno)
- : g10_errstr(rc) );
+ rc == GPGERR_NETWORK? strerror(errno)
+ : gpg_errstr(rc) );
iobuf_close(temp);
gcry_free( request );
return rc;
@@ -170,7 +170,7 @@ hkp_export( STRLIST users )
rc = http_wait_response( &hd, &status );
if( rc ) {
log_error("error sending to `%s': %s\n",
- opt.keyserver_name, g10_errstr(rc) );
+ opt.keyserver_name, gpg_errstr(rc) );
}
else {
#if 1