diff options
author | Rob Percival <robpercival@google.com> | 2016-03-10 23:26:41 +0000 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-03-11 09:06:04 -0500 |
commit | 680ddc996b603c5f064f8047e05cf5cc0d61b735 (patch) | |
tree | f76f74f9f51ade0daa02708e9d5a6051bae864e2 /crypto/ct | |
parent | b536958205350bb3ce98e02ce4a06b4b2506ba65 (diff) | |
download | openssl-680ddc996b603c5f064f8047e05cf5cc0d61b735.tar.gz |
constify CT_POLICY_EVAL_CTX getters
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/ct')
-rw-r--r-- | crypto/ct/ct_policy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/ct/ct_policy.c b/crypto/ct/ct_policy.c index 1236411000..f97cfdfabd 100644 --- a/crypto/ct/ct_policy.c +++ b/crypto/ct/ct_policy.c @@ -93,17 +93,17 @@ void CT_POLICY_EVAL_CTX_set0_log_store(CT_POLICY_EVAL_CTX *ctx, ctx->log_store = log_store; } -X509* CT_POLICY_EVAL_CTX_get0_cert(CT_POLICY_EVAL_CTX *ctx) +X509* CT_POLICY_EVAL_CTX_get0_cert(const CT_POLICY_EVAL_CTX *ctx) { return ctx->cert; } -X509* CT_POLICY_EVAL_CTX_get0_issuer(CT_POLICY_EVAL_CTX *ctx) +X509* CT_POLICY_EVAL_CTX_get0_issuer(const CT_POLICY_EVAL_CTX *ctx) { return ctx->issuer; } -CTLOG_STORE *CT_POLICY_EVAL_CTX_get0_log_store(CT_POLICY_EVAL_CTX *ctx) +const CTLOG_STORE *CT_POLICY_EVAL_CTX_get0_log_store(const CT_POLICY_EVAL_CTX *ctx) { return ctx->log_store; } |