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

Diff for /src/usr.bin/ssh/auth2-chall.c between version 1.24.4.1 and 1.25

version 1.24.4.1, 2006/09/30 04:06:50 version 1.25, 2006/03/19 18:51:18
Line 1 
Line 1 
 /* $OpenBSD$ */  
 /*  /*
  * Copyright (c) 2001 Markus Friedl.  All rights reserved.   * Copyright (c) 2001 Markus Friedl.  All rights reserved.
  * Copyright (c) 2001 Per Allansson.  All rights reserved.   * Copyright (c) 2001 Per Allansson.  All rights reserved.
Line 23 
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"
   
 #include <sys/types.h>  
   
 #include <stdio.h>  
 #include <string.h>  
   
 #include "xmalloc.h"  
 #include "ssh2.h"  #include "ssh2.h"
 #include "key.h"  
 #include "hostfile.h"  
 #include "auth.h"  #include "auth.h"
 #include "buffer.h"  #include "buffer.h"
 #include "packet.h"  #include "packet.h"
   #include "xmalloc.h"
 #include "dispatch.h"  #include "dispatch.h"
 #include "log.h"  #include "log.h"
   
Line 267 
Line 260 
         if (nresp > 100)          if (nresp > 100)
                 fatal("input_userauth_info_response: too many replies");                  fatal("input_userauth_info_response: too many replies");
         if (nresp > 0) {          if (nresp > 0) {
                 response = xcalloc(nresp, sizeof(char *));                  response = xmalloc(nresp * sizeof(char *));
                 for (i = 0; i < nresp; i++)                  for (i = 0; i < nresp; i++)
                         response[i] = packet_get_string(NULL);                          response[i] = packet_get_string(NULL);
         }          }
Line 321 
Line 314 
 {  {
 #ifdef BSD_AUTH  #ifdef BSD_AUTH
         extern KbdintDevice mm_bsdauth_device;          extern KbdintDevice mm_bsdauth_device;
 #else  #endif
 #ifdef SKEY  #ifdef SKEY
         extern KbdintDevice mm_skey_device;          extern KbdintDevice mm_skey_device;
 #endif  
 #endif  #endif
         /* As long as SSHv1 has devices[0] hard coded this is fine */          /* As long as SSHv1 has devices[0] hard coded this is fine */
 #ifdef BSD_AUTH  #ifdef BSD_AUTH

Legend:
Removed from v.1.24.4.1  
changed lines
  Added in v.1.25