s3_lib.c (72613) | s3_lib.c (76866) |
---|---|
1/* ssl/s3_lib.c */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 1321 unchanged lines hidden (view full) --- 1330 return(ret); 1331 } 1332 1333int ssl3_read(SSL *s, void *buf, int len) 1334 { 1335 return ssl3_read_internal(s, buf, len, 0); 1336 } 1337 | 1/* ssl/s3_lib.c */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 1321 unchanged lines hidden (view full) --- 1330 return(ret); 1331 } 1332 1333int ssl3_read(SSL *s, void *buf, int len) 1334 { 1335 return ssl3_read_internal(s, buf, len, 0); 1336 } 1337 |
1338int ssl3_peek(SSL *s, char *buf, int len) | 1338int ssl3_peek(SSL *s, void *buf, int len) |
1339 { 1340 return ssl3_read_internal(s, buf, len, 1); 1341 } 1342 1343int ssl3_renegotiate(SSL *s) 1344 { 1345 if (s->handshake_func == NULL) 1346 return(1); --- 33 unchanged lines hidden --- | 1339 { 1340 return ssl3_read_internal(s, buf, len, 1); 1341 } 1342 1343int ssl3_renegotiate(SSL *s) 1344 { 1345 if (s->handshake_func == NULL) 1346 return(1); --- 33 unchanged lines hidden --- |