~ubuntu-branches/ubuntu/lucid/openssl/lucid-security

« back to all changes in this revision

Viewing changes to ssl/d1_pkt.c

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2006-05-15 16:00:58 UTC
  • mto: (11.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20060515160058-pg6lnbkkpkwpdj2e
Tags: upstream-0.9.8b
ImportĀ upstreamĀ versionĀ 0.9.8b

Show diffs side-by-side

added added

removed removed

Lines of Context:
197
197
        memset(&(s->s3->rbuf), 0, sizeof(SSL3_BUFFER));
198
198
        memset(&(s->s3->rrec), 0, sizeof(SSL3_RECORD));
199
199
        
200
 
        ssl3_setup_buffers(s);
 
200
        if (!ssl3_setup_buffers(s))
 
201
                {
 
202
                SSLerr(SSL_F_DTLS1_BUFFER_RECORD, ERR_R_INTERNAL_ERROR);
 
203
                OPENSSL_free(rdata);
 
204
                pitem_free(item);
 
205
                return(0);
 
206
                }
201
207
        
202
208
        return(1);
203
209
    }