/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 unkown -> unknown
updated TODO

Show diffs side-by-side

added added

removed removed

Lines of Context:
682
682
      }
683
683
      int ret = start_mandos_communication(ip, port, interface, mc);
684
684
      if (ret == 0){
685
 
        avahi_simple_poll_quit(mc->simple_poll);
 
685
        exit(EXIT_SUCCESS);
686
686
      }
687
687
    }
688
688
  }
850
850
          break;
851
851
        case ARGP_KEY_ARG:
852
852
          argp_usage (state);
853
 
        case ARGP_KEY_END:
854
853
          break;
 
854
          case ARGP_KEY_END:
 
855
            break;
855
856
        default:
856
857
          return ARGP_ERR_UNKNOWN;
857
858
        }
880
881
    seckeyfile = combinepath(keydir, seckeyfile);
881
882
    if (seckeyfile == NULL){
882
883
      perror("combinepath");
883
 
      exitcode = EXIT_FAILURE;
884
884
      goto end;
885
885
    }
886
886
 
887
887
    ret = init_gnutls_global(&mc, pubkeyfile, seckeyfile);
888
888
    if (ret == -1){
889
 
      fprintf(stderr, "init_gnutls_global failed\n");
890
 
      exitcode = EXIT_FAILURE;
 
889
      fprintf(stderr, "init_gnutls_global\n");
891
890
      goto end;
892
891
    } else {
893
892
      gnutls_initalized = true;