diff options
author | Bodo Möller <bodo@openssl.org> | 2000-02-20 23:04:06 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2000-02-20 23:04:06 +0000 |
commit | b35e9050f282c5ea2164bd5b08ed34d03accf45f (patch) | |
tree | 5256806a3f38422c71b01fa584698fc118c4e1fd /ssl/s23_srvr.c | |
parent | 9f7b1b24e2a94efbe2cdf61ed614780f72d67899 (diff) |
Tolerate fragmentation and interleaving in the SSL 3/TLS record layer.
Diffstat (limited to 'ssl/s23_srvr.c')
-rw-r--r-- | ssl/s23_srvr.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ssl/s23_srvr.c b/ssl/s23_srvr.c index 65b46ed7b0..49320647e7 100644 --- a/ssl/s23_srvr.c +++ b/ssl/s23_srvr.c @@ -200,6 +200,7 @@ int ssl23_get_client_hello(SSL *s) * 6-8 length > Client Hello message * 9/10 client_version / */ +/* XXX */ char *buf= &(buf_space[0]); unsigned char *p,*d,*dd; unsigned int i; @@ -277,6 +278,7 @@ int ssl23_get_client_hello(SSL *s) * throw this away and implement it in a way * that makes sense */ { +#if 0 STACK_OF(SSL_CIPHER) *sk; SSL_CIPHER *c; int ne2,ne3; @@ -326,6 +328,10 @@ int ssl23_get_client_hello(SSL *s) goto next_bit; } } +#else + SSLerr(SSL_F_SSL23_GET_CLIENT_HELLO,SSL_R_UNSUPPORTED_OPTION); + goto err; +#endif } } } |