Bugzilla – Attachment 1296 Details for
Bug 1317
ssh uses obsolete SIG RRtype
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch against CVS
patch00 (text/plain), 1.34 KB, created by
Simon Vallet
on 2007-05-23 00:07:53 AEST
(
hide
)
Description:
Patch against CVS
Filename:
MIME Type:
Creator:
Simon Vallet
Created:
2007-05-23 00:07:53 AEST
Size:
1.34 KB
patch
obsolete
>Index: openbsd-compat/getrrsetbyname.c >=================================================================== >RCS file: /cvs/openssh/openbsd-compat/getrrsetbyname.c,v >retrieving revision 1.24 >diff -u -r1.24 getrrsetbyname.c >--- openbsd-compat/getrrsetbyname.c 29 Apr 2007 03:58:07 -0000 1.24 >+++ openbsd-compat/getrrsetbyname.c 22 May 2007 14:04:45 -0000 >@@ -288,7 +288,7 @@ > rrset->rri_nrdatas = count_dns_rr(response->answer, rrset->rri_rdclass, > rrset->rri_rdtype); > rrset->rri_nsigs = count_dns_rr(response->answer, rrset->rri_rdclass, >- T_SIG); >+ T_RRSIG); > > /* allocate memory for answers */ > rrset->rri_rdatas = calloc(rrset->rri_nrdatas, >@@ -318,7 +318,7 @@ > rdata = &rrset->rri_rdatas[index_ans++]; > > if (rr->class == rrset->rri_rdclass && >- rr->type == T_SIG) >+ rr->type == T_RRSIG) > rdata = &rrset->rri_sigs[index_sig++]; > > if (rdata) { >Index: openbsd-compat/getrrsetbyname.h >=================================================================== >RCS file: /cvs/openssh/openbsd-compat/getrrsetbyname.h,v >retrieving revision 1.7 >diff -u -r1.7 getrrsetbyname.h >--- openbsd-compat/getrrsetbyname.h 27 Jan 2004 05:40:35 -0000 1.7 >+++ openbsd-compat/getrrsetbyname.h 22 May 2007 14:04:45 -0000 >@@ -62,8 +62,8 @@ > #define HFIXEDSZ 12 > #endif > >-#ifndef T_SIG >-#define T_SIG 24 >+#ifndef T_RRSIG >+#define T_RRSIG 46 > #endif > > /*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1317
: 1296