aboutsummaryrefslogtreecommitdiff
path: root/crypto/dh
diff options
context:
space:
mode:
authorJack Bates <jack@nottheoilrig.com>2017-01-05 09:58:18 -0700
committerMatt Caswell <matt@openssl.org>2018-03-21 10:37:05 +0000
commit693be9a2cb0fc79fe856259feea54772c18a3637 (patch)
treeda5fd41ef57237710f54a7d9bd52086d72ca6ff9 /crypto/dh
parent424afe931e7d813f75c7d1eacad7a5cd946c6456 (diff)
downloadopenssl-693be9a2cb0fc79fe856259feea54772c18a3637.zip
openssl-693be9a2cb0fc79fe856259feea54772c18a3637.tar.gz
openssl-693be9a2cb0fc79fe856259feea54772c18a3637.tar.bz2
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 ce6114c..c5e16c4 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;
}