tools/gpgtar: Fix handling of '-'.
authorJustus Winter <justus@g10code.com>
Tue, 28 Jun 2016 13:03:07 +0000 (15:03 +0200)
committerJustus Winter <justus@g10code.com>
Tue, 28 Jun 2016 13:03:07 +0000 (15:03 +0200)
commit4819f687c48c7972c39ae29c7af1e891a4d57360
treebfd11a17dad4b34860a76c161a6c71f5d72dd5d8
parentd36f664bfdc39c05927cb6e14fe1b3ecb7b64bfa
tools/gpgtar: Fix handling of '-'.

* tools/gpgtar-extract.c (gpgtar_extract): Use stdin if file is '-'.
* tools/gpgtar-list.c (gpgtar_list): Likewise.

Signed-off-by: Justus Winter <justus@g10code.com>
tools/gpgtar-extract.c
tools/gpgtar-list.c