Skip to content
  • Niels Möller's avatar
    * src/lsh.c (lsh_options): New attributes with_userauth and service. · cc787ae9
    Niels Möller authored
    (options2service): New command.
    (make_lsh_userauth): New expression.
    (make_lsh_connect): Use options2service.
    (main_options): New flags --publickey, --userauth, --no-userauth.
    (CASE_FLAG): New macro.
    (main_argp_parser): Implemented --userauth and --no-userauth
    options, with defaults depending on whether or not SRP is being
    used.
    Use the CASE_FLAG macro.
    (request_userauth_service): New global command object.
    (request_connection_service): New global command object.
    
    * src/lsh.c (main_argp_parser): Use new srp-related atoms.
    
    Rev: src/lsh.c:1.110
    cc787ae9