/mandos/release

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

« back to all changes in this revision

Viewing changes to plugins.d/password-request.c

  • Committer: Björn Påhlsson
  • Date: 2008-08-11 16:35:32 UTC
  • mto: (237.7.1 mandos) (24.1.154 mandos)
  • mto: This revision was merged to the branch mainline in revision 66.
  • Revision ID: belorn@braxen-20080811163532-er1zd4q2j4ykfv11
Fixed fallback on error in mandos-client
fixed a bug in password-request

Show diffs side-by-side

added added

removed removed

Lines of Context:
881
881
    seckeyfile = combinepath(keydir, seckeyfile);
882
882
    if (seckeyfile == NULL){
883
883
      perror("combinepath");
 
884
      exitcode = EXIT_FAILURE;
884
885
      goto end;
885
886
    }
886
887
 
887
888
    ret = init_gnutls_global(&mc, pubkeyfile, seckeyfile);
888
889
    if (ret == -1){
889
 
      fprintf(stderr, "init_gnutls_global\n");
 
890
      fprintf(stderr, "init_gnutls_global failed\n");
 
891
      exitcode = EXIT_FAILURE;
890
892
      goto end;
891
893
    } else {
892
894
      gnutls_initalized = true;