From: Richard Levitte Date: Mon, 2 Nov 2015 15:43:28 +0000 (+0100) Subject: BIO_s_datagram() ctrl doesn't support SEEK/TELL, so don't pretend it does X-Git-Tag: OpenSSL_1_0_1r~20 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f9b52eb6b1623d927aa1b556b0b23110ca2a6b28;p=oweals%2Fopenssl.git BIO_s_datagram() ctrl doesn't support SEEK/TELL, so don't pretend it does Reviewed-by: Rich Salz (cherry picked from commit 17592f323ac7dad381cc3b512573c291b1a820c0) --- diff --git a/crypto/bio/bss_dgram.c b/crypto/bio/bss_dgram.c index e3e3dd0503..d12b83a8dc 100644 --- a/crypto/bio/bss_dgram.c +++ b/crypto/bio/bss_dgram.c @@ -515,10 +515,8 @@ static long dgram_ctrl(BIO *b, int cmd, long num, void *ptr) switch (cmd) { case BIO_CTRL_RESET: num = 0; - case BIO_C_FILE_SEEK: ret = 0; break; - case BIO_C_FILE_TELL: case BIO_CTRL_INFO: ret = 0; break;