BIO_s_datagram() ctrl doesn't support SEEK/TELL, so don't pretend it does
[openssl.git] / crypto / bio / bss_dgram.c
index e3e3dd0503a89676f184e5222dea1a69afe352b3..d12b83a8dcf3d94bc18624336508653fa296b5f0 100644 (file)
@@ -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;