Internalizes SCT_verify and removes SCT_verify_v1
authorRob Percival <robpercival@google.com>
Tue, 23 Aug 2016 11:52:43 +0000 (12:52 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 23 Aug 2016 19:12:25 +0000 (20:12 +0100)
commitcdb2a60347f988037d29adc7e4415e9c66c8a5a5
treece213a2202bbbbe21c33014db2d1ecef97c7a71a
parent5579eab9efd2c8e2f21340f9b9fe20ee89f25857
Internalizes SCT_verify and removes SCT_verify_v1

SCT_verify is impossible to call through the public API (SCT_CTX_new() is
not part of the public API), so rename it to SCT_CTX_verify and move it
out of the public API.

SCT_verify_v1 is redundant, since SCT_validate does the same verification
(by calling SCT_verify) and more. The API is less confusing with a single
verification function (SCT_validate).

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
crypto/ct/ct_err.c
crypto/ct/ct_locl.h
crypto/ct/ct_sct.c
crypto/ct/ct_vfy.c
include/openssl/ct.h
util/libcrypto.num