diff options
author | Rob Percival <robpercival@google.com> | 2016-03-04 20:52:45 +0100 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-03-09 17:34:48 +0100 |
commit | 8c92c4eac091e1a588a980514e7f5fd2a517fefc (patch) | |
tree | dc9c9b9ba2f845af15c5f393d36c10269cacacc4 /crypto/ct | |
parent | Extensive application of __owur to CT functions that return a boolean (diff) | |
download | openssl-8c92c4eac091e1a588a980514e7f5fd2a517fefc.tar.xz openssl-8c92c4eac091e1a588a980514e7f5fd2a517fefc.zip |
Make parameters of CTLOG_get* const
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_log.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crypto/ct/ct_log.c b/crypto/ct/ct_log.c index 03cb51ffec..4f3fe3c794 100644 --- a/crypto/ct/ct_log.c +++ b/crypto/ct/ct_log.c @@ -315,18 +315,19 @@ void CTLOG_free(CTLOG *log) } } -const char *CTLOG_get0_name(CTLOG *log) +const char *CTLOG_get0_name(const CTLOG *log) { return log->name; } -void CTLOG_get0_log_id(CTLOG *log, uint8_t **log_id, size_t *log_id_len) +void CTLOG_get0_log_id(const CTLOG *log, const uint8_t **log_id, + size_t *log_id_len) { *log_id = log->log_id; *log_id_len = CT_V1_HASHLEN; } -EVP_PKEY *CTLOG_get0_public_key(CTLOG *log) +EVP_PKEY *CTLOG_get0_public_key(const CTLOG *log) { return log->public_key; } |