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

Diff for /src/usr.bin/ssh/dns.c between version 1.16.2.1 and 1.17

version 1.16.2.1, 2006/09/30 04:06:50 version 1.17, 2006/03/19 18:51:18
Line 1 
Line 1 
 /* $OpenBSD$ */  /*      $OpenBSD$       */
   
 /*  /*
  * Copyright (c) 2003 Wesley Griffin. All rights reserved.   * Copyright (c) 2003 Wesley Griffin. All rights reserved.
Line 25 
Line 25 
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.   * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */   */
   
 #include <sys/types.h>  #include "includes.h"
 #include <sys/socket.h>  
   
 #include <netdb.h>  #include <netdb.h>
 #include <stdio.h>  
 #include <string.h>  
   
 #include "xmalloc.h"  #include "xmalloc.h"
 #include "key.h"  #include "key.h"
Line 124 
Line 121 
                         *digest = (u_char *) xmalloc(*digest_len);                          *digest = (u_char *) xmalloc(*digest_len);
                         memcpy(*digest, rdata + 2, *digest_len);                          memcpy(*digest, rdata + 2, *digest_len);
                 } else {                  } else {
                         *digest = (u_char *)xstrdup("");                          *digest = xstrdup("");
                 }                  }
   
                 success = 1;                  success = 1;

Legend:
Removed from v.1.16.2.1  
changed lines
  Added in v.1.17