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

Diff for /src/usr.bin/ssh/Attic/auth-rsa.c between version 1.63 and 1.63.2.1

version 1.63, 2005/06/17 02:44:32 version 1.63.2.1, 2006/10/06 03:19:32
Line 1 
Line 1 
   /* $OpenBSD$ */
 /*  /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>   * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland   * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
Line 13 
Line 14 
  * called by a name other than "ssh" or "Secure Shell".   * called by a name other than "ssh" or "Secure Shell".
  */   */
   
 #include "includes.h"  #include <sys/types.h>
 RCSID("$OpenBSD$");  #include <sys/stat.h>
   
 #include <openssl/rsa.h>  #include <openssl/rsa.h>
 #include <openssl/md5.h>  #include <openssl/md5.h>
   
   #include <pwd.h>
   #include <stdio.h>
   #include <string.h>
   
   #include "xmalloc.h"
 #include "rsa.h"  #include "rsa.h"
 #include "packet.h"  #include "packet.h"
 #include "xmalloc.h"  
 #include "ssh1.h"  #include "ssh1.h"
 #include "uidswap.h"  #include "uidswap.h"
 #include "match.h"  #include "match.h"
   #include "buffer.h"
 #include "auth-options.h"  #include "auth-options.h"
 #include "pathnames.h"  #include "pathnames.h"
 #include "log.h"  #include "log.h"
 #include "servconf.h"  #include "servconf.h"
 #include "auth.h"  #include "key.h"
 #include "hostfile.h"  #include "hostfile.h"
   #include "auth.h"
   #ifdef GSSAPI
   #include "ssh-gss.h"
   #endif
 #include "monitor_wrap.h"  #include "monitor_wrap.h"
 #include "ssh.h"  #include "ssh.h"
 #include "misc.h"  #include "misc.h"
Line 137 
Line 147 
         /* Wait for a response. */          /* Wait for a response. */
         packet_read_expect(SSH_CMSG_AUTH_RSA_RESPONSE);          packet_read_expect(SSH_CMSG_AUTH_RSA_RESPONSE);
         for (i = 0; i < 16; i++)          for (i = 0; i < 16; i++)
                 response[i] = packet_get_char();                  response[i] = (u_char)packet_get_char();
         packet_check_eom();          packet_check_eom();
   
         success = PRIVSEP(auth_rsa_verify_response(key, challenge, response));          success = PRIVSEP(auth_rsa_verify_response(key, challenge, response));

Legend:
Removed from v.1.63  
changed lines
  Added in v.1.63.2.1