diff options
author | Matt Caswell <matt@openssl.org> | 2018-05-02 11:32:39 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2018-05-02 23:43:52 +0100 |
commit | 4db296d9f0cf2855b358883a55b77a6b6f6848ba (patch) | |
tree | 2581ec525528219bef5199f06dd146980a7eface /crypto/x509/x509_vpm.c | |
parent | e401389a0cc8ce807aa52e30cf5aba080a62b2df (diff) | |
download | openssl-4db296d9f0cf2855b358883a55b77a6b6f6848ba.tar.gz |
Make X509_VERIFY_PARAM_get_hostflags() take a const arg
Commit 5b748dea5 added this function which should have taken a const
argument.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6154)
Diffstat (limited to 'crypto/x509/x509_vpm.c')
-rw-r--r-- | crypto/x509/x509_vpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x509_vpm.c b/crypto/x509/x509_vpm.c index e860afd725..16d27f91b5 100644 --- a/crypto/x509/x509_vpm.c +++ b/crypto/x509/x509_vpm.c @@ -393,7 +393,7 @@ void X509_VERIFY_PARAM_set_hostflags(X509_VERIFY_PARAM *param, param->hostflags = flags; } -unsigned int X509_VERIFY_PARAM_get_hostflags(X509_VERIFY_PARAM *param) +unsigned int X509_VERIFY_PARAM_get_hostflags(const X509_VERIFY_PARAM *param) { return param->hostflags; } |