aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2018-05-02 11:32:39 +0100
committerMatt Caswell <matt@openssl.org>2018-05-02 23:43:52 +0100
commit4db296d9f0cf2855b358883a55b77a6b6f6848ba (patch)
tree2581ec525528219bef5199f06dd146980a7eface /crypto
parente401389a0cc8ce807aa52e30cf5aba080a62b2df (diff)
downloadopenssl-4db296d9f0cf2855b358883a55b77a6b6f6848ba.zip
openssl-4db296d9f0cf2855b358883a55b77a6b6f6848ba.tar.gz
openssl-4db296d9f0cf2855b358883a55b77a6b6f6848ba.tar.bz2
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')
-rw-r--r--crypto/x509/x509_vpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x509_vpm.c b/crypto/x509/x509_vpm.c
index e860afd..16d27f9 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;
}