summaryrefslogtreecommitdiffstats
path: root/crypto/dh
diff options
context:
space:
mode:
authorJack Bates <jack@nottheoilrig.com>2017-01-05 17:58:18 +0100
committerMatt Caswell <matt@openssl.org>2018-03-21 11:37:05 +0100
commit693be9a2cb0fc79fe856259feea54772c18a3637 (patch)
treeda5fd41ef57237710f54a7d9bd52086d72ca6ff9 /crypto/dh
parentDon't wait for dry at the end of a handshake (diff)
downloadopenssl-693be9a2cb0fc79fe856259feea54772c18a3637.tar.xz
openssl-693be9a2cb0fc79fe856259feea54772c18a3637.zip
Convert _meth_get_ functions to const getters
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2181)
Diffstat (limited to 'crypto/dh')
-rw-r--r--crypto/dh/dh_meth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/dh/dh_meth.c b/crypto/dh/dh_meth.c
index ce6114c133..c5e16c4e2e 100644
--- a/crypto/dh/dh_meth.c
+++ b/crypto/dh/dh_meth.c
@@ -75,7 +75,7 @@ int DH_meth_set1_name(DH_METHOD *dhm, const char *name)
return 1;
}
-int DH_meth_get_flags(DH_METHOD *dhm)
+int DH_meth_get_flags(const DH_METHOD *dhm)
{
return dhm->flags;
}