link against libpam by default if it exists
include PAM headers if we've got 'em
get headers from myproxy_common.h for better portability
only compile/link with libpam if pam headers are also available
Client-side support for trusted certificates directory download. This code
still has a bug somewhere in regards to memory allocation as it is segfaulting
when writing files out to ~/.globus/certificates.
Streamline PAM logic.
fix memory error in recently-added (never released) myappend()
#include <globus_gsi_system_config.h> for GLOBUS_GSI_SYSCONFIG_GET_CERT_DIR
use fprintf(file, "%s", buf) instead of fprintf(file, buf) in case buf
has some escape characters (fix in new code, not yet released)
activate GLOBUS_GSI_SYSCONFIG_MODULE before calling
GLOBUS_GSI_SYSCONFIG_GET_CERT_DIR
Undo accidental changes to default myproxy-server.config
- add --trustroots option
- don't use GLOBUS_GSI_SYSCONFIG_GET_USER_CERT_FILENAME() to get
  output file, because it only returns files that exist
- check for existing cert and key files we don't want to overwrite
  before contacting the server
- word-wrap output messages to <80 char lines
- remove unused outputfile
- activate GLOBUS_GSI_SYSCONFIG_MODULE before calling
- check for existing cert and key files before contacting server
activate GLOBUS_GSI_SYSCONFIG_MODULE before calling
- move string funcs to string_funcs.[ch] where we can re-use them
- fix bug where we always skipped the last trusted_cert in the list
- some functions moved here from myproxy_creds.c
- check for NULL argument to make_path() for safety
- add get_user_credential_filename(), which is like
  GLOBUS_GSI_SYSCONFIG_GET_USER_CERT_FILENAME() except it doesn't
  require files to exist in advance
- some functions moved here from myproxy_creds.c
- add get_user_credential_filename(), which is like
  GLOBUS_GSI_SYSCONFIG_GET_USER_CERT_FILENAME() except it doesn't
  require files to exist in advance
remove unused variable "result"
include authorized_key_retrievers and default_key_retrievers in
initial example configuration
- call myproxy_server_config_read() after become_daemon() because
  become_daemon() closes fds, and the Globus calls in
  myproxy_server_config_read() get confused
- in myproxy_authorize_accept(), do get_client_authdata() and
  myproxy_creds_retrieve() for MYPROXY_RETRIEVE_CERT just like
  MYPROXY_GET_PROXY, as we (in particular) need access to the
  creds.keyretrieve policy