/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

  • Committer: Teddy Hogeborn
  • Date: 2008-08-12 06:46:11 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080812064611-7wfjg391ypmff085
* mandos-keygen: New program to generate new client keys on
                 installation.

* Makefile (all): No longer build documentation.
  (doc): New; build documentation.
  (maintainer-clean): Remove build-local client keydir.
  (run-client): Make build-local keydir with keys.
  (run-server): Do not depend on "all".
  (install, install-server, install-client, uninstall,
  uninstall-server, uninstall-client, purge, purge-server,
  purge-client): New.

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;