Changeset View
Changeset View
Standalone View
Standalone View
gnupg-2.0.16/g10/import.c
Context not available. | |||||
const char *fname = fnames? fnames[i] : NULL; | const char *fname = fnames? fnames[i] : NULL; | ||||
IOBUF inp2 = iobuf_open(fname); | IOBUF inp2 = iobuf_open(fname); | ||||
if( !fname ) | if( !fname ) | ||||
{ | |||||
fname = "[stdin]"; | fname = "[stdin]"; | ||||
i = nnames - 1; /* Break out of the loop */ | |||||
} | |||||
if (inp2 && is_secured_file (iobuf_get_fd (inp2))) | if (inp2 && is_secured_file (iobuf_get_fd (inp2))) | ||||
{ | { | ||||
iobuf_close (inp2); | iobuf_close (inp2); | ||||
Context not available. | |||||
log_error("import from `%s' failed: %s\n", fname, | log_error("import from `%s' failed: %s\n", fname, | ||||
g10_errstr(rc) ); | g10_errstr(rc) ); | ||||
} | } | ||||
if( !fname ) | |||||
break; | |||||
} | } | ||||
} | } | ||||
if (!stats_handle) { | if (!stats_handle) { | ||||
Context not available. |