[BACK]Return to auth-bsdauth.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/auth-bsdauth.c between version 1.6 and 1.6.4.1

version 1.6, 2005/01/19 13:11:47 version 1.6.4.1, 2006/10/06 03:19:32
Line 1 
Line 1 
   /* $OpenBSD$ */
 /*  /*
  * Copyright (c) 2001 Markus Friedl.  All rights reserved.   * Copyright (c) 2001 Markus Friedl.  All rights reserved.
  *   *
Line 21 
Line 22 
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF   * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.   * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */   */
 #include "includes.h"  
 RCSID("$OpenBSD$");  
   
   #include <sys/types.h>
   
 #ifdef BSD_AUTH  #ifdef BSD_AUTH
 #include "xmalloc.h"  #include "xmalloc.h"
   #include "key.h"
   #include "hostfile.h"
 #include "auth.h"  #include "auth.h"
 #include "log.h"  #include "log.h"
   #include "buffer.h"
   #ifdef GSSAPI
   #include "ssh-gss.h"
   #endif
 #include "monitor_wrap.h"  #include "monitor_wrap.h"
   
 static void *  static void *
Line 69 
Line 76 
         *name = xstrdup("");          *name = xstrdup("");
         *infotxt = xstrdup("");          *infotxt = xstrdup("");
         *numprompts = 1;          *numprompts = 1;
         *prompts = xmalloc(*numprompts * sizeof(char *));          *prompts = xcalloc(*numprompts, sizeof(char *));
         *echo_on = xmalloc(*numprompts * sizeof(u_int));          *echo_on = xcalloc(*numprompts, sizeof(u_int));
         (*echo_on)[0] = 0;  
         (*prompts)[0] = xstrdup(challenge);          (*prompts)[0] = xstrdup(challenge);
   
         return 0;          return 0;

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.6.4.1