summaryrefslogtreecommitdiffstats
path: root/crypto/rsa
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/rsa
parent424afe931e7d813f75c7d1eacad7a5cd946c6456 (diff)
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/rsa')
-rw-r--r--crypto/rsa/rsa_meth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rsa/rsa_meth.c b/crypto/rsa/rsa_meth.c
index 5dccc330dc..2a30389a9c 100644
--- a/crypto/rsa/rsa_meth.c
+++ b/crypto/rsa/rsa_meth.c
@@ -75,7 +75,7 @@ int RSA_meth_set1_name(RSA_METHOD *meth, const char *name)
return 1;
}
-int RSA_meth_get_flags(RSA_METHOD *meth)
+int RSA_meth_get_flags(const RSA_METHOD *meth)
{
return meth->flags;
}