]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Allow --mode=print to read file from stdin
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Mon, 6 May 2024 22:10:14 +0000 (16:10 -0600)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Mon, 6 May 2024 22:10:35 +0000 (16:10 -0600)
commit70921b8e9b66021c38020ab1aad8d61b3634fdf0
tree56576c84e3e2d93d083bc3bd8ac5be5cff9e594f
parentfcb0b3c9a80e1ed54556b8cfb4ef34c0d330ff73
Allow --mode=print to read file from stdin

Either works:

$ fort --mode=print   < cert.cer
$ fort --mode=print - < cert.cer

Progress for #122.
src/config.c
src/print_file.c