Makes CTLOG_STORE_get0_log_by_id return const CTLOG*

Reviewed-by: Emilia Käsper <emilia@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Rob Percival
2016-03-08 18:55:55 +00:00
committed by Rich Salz
parent 98af731064
commit 12d2d28185
2 changed files with 7 additions and 7 deletions

View File

@@ -539,9 +539,9 @@ void CTLOG_STORE_free(CTLOG_STORE *store);
* Finds a CT log in the store based on its log ID.
* Returns the CT log, or NULL if no match is found.
*/
CTLOG *CTLOG_STORE_get0_log_by_id(const CTLOG_STORE *store,
const uint8_t *log_id,
size_t log_id_len);
const CTLOG *CTLOG_STORE_get0_log_by_id(const CTLOG_STORE *store,
const uint8_t *log_id,
size_t log_id_len);
/*
* Loads a CT log list into a |store| from a |file|.