Commit 17592f32 authored by Richard Levitte's avatar Richard Levitte
Browse files

BIO_s_datagram() ctrl doesn't support SEEK/TELL, so don't pretend it does



Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent 6d97060e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;