/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 plugins.d/password-prompt.c

  • Committer: Teddy Hogeborn
  • Date: 2009-01-29 22:22:32 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090129222232-p9hqnq338nsvxayp
* mandos (main): Bug fix: Do setgid before setuid.  Add verbose GnuTLS
                 debugging messages.
* plugins.d/mandos-client.c (main): Bug fix: Do setgid before setuid.

Show diffs side-by-side

added added

removed removed

Lines of Context:
194
194
      const char *cryptsource = getenv("cryptsource");
195
195
      const char *crypttarget = getenv("crypttarget");
196
196
      const char *const prompt
197
 
        = "Enter passphrase to unlock the disk";      
 
197
        = "Enter passphrase to unlock the disk";
198
198
      if(cryptsource == NULL){
199
199
        if(crypttarget == NULL){
200
200
          fprintf(stderr, "%s: ", prompt);