mirror of
https://github.com/openssl/openssl.git
synced 2024-12-12 19:43:42 +08:00
Return the value of tlsext_status_type in the return not arg
Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
4300aaf351
commit
93a9d5975e
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user