BIO_s_datagram() ctrl doesn't support SEEK/TELL, so don't pretend it does
authorRichard Levitte <levitte@openssl.org>
Mon, 2 Nov 2015 15:43:28 +0000 (16:43 +0100)
committerRichard Levitte <levitte@openssl.org>
Sat, 19 Dec 2015 21:07:42 +0000 (22:07 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/bio/bss_dgram.c

index 7fcd831da06bed5ac36acbdac64debd4c6220d0e..bdd7bf88ea0e854bc60b0bf865ddc80611615545 100644 (file)
@@ -519,10 +519,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;