diff options
author | Matt Caswell <matt@openssl.org> | 2016-06-07 15:13:40 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-06-07 17:05:52 +0100 |
commit | 93a9d5975ea1761247e44ee697d991aa88919c96 (patch) | |
tree | 527cfeab55341b0e7e18f54c558f6bb3c8c23a43 /ssl | |
parent | 4300aaf3512167c6759ba1feedcbb28e4ba8413a (diff) |
Return the value of tlsext_status_type in the return not arg
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/s3_lib.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c index 025c003b3e..a6709187a6 100644 --- a/ssl/s3_lib.c +++ b/ssl/s3_lib.c @@ -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: |