Commit 93a9d597 authored by Matt Caswell's avatar Matt Caswell
Browse files

Return the value of tlsext_status_type in the return not arg



Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent 4300aaf3
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2972,8 +2972,7 @@ long ssl3_ctrl(SSL *s, int cmd, long larg, void *parg)
        break;

    case SSL_CTRL_GET_TLSEXT_STATUS_REQ_TYPE:
        *(int *)parg = s->tlsext_status_type;
        ret = 1;
        ret = s->tlsext_status_type;
        break;

    case SSL_CTRL_SET_TLSEXT_STATUS_REQ_TYPE: