/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to debian/mandos-client.postrm

  • Committer: Teddy Hogeborn
  • Date: 2018-04-02 10:24:15 UTC
  • Revision ID: teddy@recompile.se-20180402102415-xrsu0wxhnmlaq29a
Minor code cleanup

* plugins.d/mandos-client.c (pgp_packet_decrypt): Use a "for"
  statement instead of a "while" statement to move initialization and
  stepping into the for statement, and reduce loop variable name
  length.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
        rm --force /etc/mandos/plugin-runner.conf \
45
45
            /etc/keys/mandos/pubkey.txt \
46
46
            /etc/keys/mandos/seckey.txt \
47
 
            /etc/keys/mandos/tls-privkey.pem \
48
 
            /etc/keys/mandos/tls-pubkey.pem \
49
47
            /etc/keys/mandos/dhparams.pem 2>/dev/null
50
48
        update_initramfs
51
49
        ;;