/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-request.c

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;