diff options
author | Bodo Möller <bodo@openssl.org> | 2000-11-28 06:48:36 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2000-11-28 06:48:36 +0000 |
commit | 87739b2c53238f7185ab476b020183da35feb899 (patch) | |
tree | cb9ae5bd4945341df2cf54fd1dbfe0590f6d9b17 /ssl/s2_pkt.c | |
parent | c782089611fc48689427e853621986aa8df156b2 (diff) |
Disable SSL_peek until it is fixed.
Diffstat (limited to 'ssl/s2_pkt.c')
-rw-r--r-- | ssl/s2_pkt.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ssl/s2_pkt.c b/ssl/s2_pkt.c index 7d4a4e6efc..0b48ea2894 100644 --- a/ssl/s2_pkt.c +++ b/ssl/s2_pkt.c @@ -68,9 +68,12 @@ static int write_pending(SSL *s, const unsigned char *buf, unsigned int len); static int ssl_mt_error(int n); int ssl2_peek(SSL *s, char *buf, int len) { +#if 1 + SSLerr(SSL_F_SSL2_PEEK, SSL_R_FIXME); /* function is totally broken */ + return -1; +#else int ret; -/* FIXME */ ret=ssl2_read(s,buf,len); if (ret > 0) { @@ -78,6 +81,7 @@ int ssl2_peek(SSL *s, char *buf, int len) s->s2->ract_data-=ret; } return(ret); +#endif } /* SSL_read - |