/[pkgs]/devel/openssl/openssl-1.0.0-beta3-dtls1-fix.patch
ViewVC logotype

Contents of /devel/openssl/openssl-1.0.0-beta3-dtls1-fix.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Thu Oct 8 18:45:10 2009 UTC (6 weeks, 3 days ago) by tmraz
Branch: MAIN
CVS Tags: openssl-1_0_0-0_10_beta3_fc13, openssl-1_0_0-0_9_beta3_fc13
File MIME type: text/x-patch
* Thu Oct  8 2009 Tomas Mraz <tmraz@redhat.com> 1.0.0-0.9.beta3
- fix typo in DTLS1 code (#527015)
- fix leak in error handling of d2i_SSL_SESSION()
1 Index: openssl/ssl/d1_clnt.c
2 RCS File: /v/openssl/cvs/openssl/ssl/d1_clnt.c,v
3 rcsdiff -q -kk '-r1.16.2.10' '-r1.16.2.11' -u '/v/openssl/cvs/openssl/ssl/d1_clnt.c,v' 2>/dev/null
4 --- openssl/ssl/d1_clnt.c 2009/07/15 11:32:57 1.16.2.10
5 +++ openssl/ssl/d1_clnt.c 2009/07/24 11:52:32 1.16.2.11
6 @@ -223,6 +223,8 @@
7 s->init_num=0;
8 /* mark client_random uninitialized */
9 memset(s->s3->client_random,0,sizeof(s->s3->client_random));
10 + s->d1->send_cookie = 0;
11 + s->hit = 0;
12 break;
13
14 case SSL3_ST_CW_CLNT_HELLO_A:
15 Index: openssl/ssl/d1_pkt.c
16 RCS File: /v/openssl/cvs/openssl/ssl/d1_pkt.c,v
17 rcsdiff -q -kk '-r1.27.2.13' '-r1.27.2.14' -u '/v/openssl/cvs/openssl/ssl/d1_pkt.c,v' 2>/dev/null
18 --- openssl/ssl/d1_pkt.c 2009/07/13 11:44:04 1.27.2.13
19 +++ openssl/ssl/d1_pkt.c 2009/07/24 11:52:32 1.27.2.14
20 @@ -775,7 +775,7 @@
21 /* Check for timeout */
22 if (dtls1_is_timer_expired(s))
23 {
24 - if (dtls1_read_failed(s, -1) > 0);
25 + if (dtls1_read_failed(s, -1) > 0)
26 goto start;
27 }
28

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2