From 2443030466c3715a9c48770022df72dab7acbb51 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 2 Nov 2015 16:43:28 +0100 Subject: BIO_s_datagram() ctrl doesn't support SEEK/TELL, so don't pretend it does Reviewed-by: Andy Polyakov --- crypto/bio/bss_dgram.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'crypto') diff --git a/crypto/bio/bss_dgram.c b/crypto/bio/bss_dgram.c index e7371c9..9c6af4b 100644 --- a/crypto/bio/bss_dgram.c +++ b/crypto/bio/bss_dgram.c @@ -512,10 +512,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; -- cgit v1.1