auth-sia.c (128456) | auth-sia.c (147001) |
---|---|
1/* 2 * Copyright (c) 2002 Chris Adams. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 33 unchanged lines hidden (view full) --- 42#include <unistd.h> 43#include <string.h> 44 45extern ServerOptions options; 46extern int saved_argc; 47extern char **saved_argv; 48 49int | 1/* 2 * Copyright (c) 2002 Chris Adams. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 33 unchanged lines hidden (view full) --- 42#include <unistd.h> 43#include <string.h> 44 45extern ServerOptions options; 46extern int saved_argc; 47extern char **saved_argv; 48 49int |
50sys_auth_passwd(Authctxt *authctxt, char *pass) | 50sys_auth_passwd(Authctxt *authctxt, const char *pass) |
51{ 52 int ret; 53 SIAENTITY *ent = NULL; 54 const char *host; 55 56 host = get_canonical_hostname(options.use_dns); 57 58 if (!authctxt->user || pass == NULL || pass[0] == '\0') --- 53 unchanged lines hidden --- | 51{ 52 int ret; 53 SIAENTITY *ent = NULL; 54 const char *host; 55 56 host = get_canonical_hostname(options.use_dns); 57 58 if (!authctxt->user || pass == NULL || pass[0] == '\0') --- 53 unchanged lines hidden --- |