From f9b52eb6b1623d927aa1b556b0b23110ca2a6b28 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 2 Nov 2015 16:43:28 +0100 Subject: [PATCH] BIO_s_datagram() ctrl doesn't support SEEK/TELL, so don't pretend it does Reviewed-by: Rich Salz (cherry picked from commit 17592f323ac7dad381cc3b512573c291b1a820c0) --- crypto/bio/bss_dgram.c | 2 -- 1 file changed, 2 deletions(-) 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; -- 2.25.1