Mercurial > dropbear
view libtomcrypt/fixupind.pl @ 1732:2f5d797d9811
Don't choke on disabled authorized_keys(5) options
As of 2020.79 X11 forwarding is disabled at build time, which could lock
out users with authorized_keys(5) files containing ‘no-X11-forwarding’
options.
author | Guilhem Moulin <guilhem@debian.org> |
---|---|
date | Fri, 26 Jun 2020 20:56:03 +0800 |
parents | 0cbe8f6dbf9e |
children |
line wrap: on
line source
open(IN,"<crypt.ind"); open(OUT,">crypt.ind.tmp"); $a = <IN>; print OUT "$a\n\\addcontentsline{toc}{chapter}{Index}\n"; while (<IN>) { print OUT $_; } close OUT; close IN; system("mv -f crypt.ind.tmp crypt.ind");