Mkae CT_log_new_from_base64 always return 0 on failure
authorRob Percival <robpercival@google.com>
Sat, 6 Aug 2016 01:27:12 +0000 (21:27 -0400)
committerRich Salz <rsalz@openssl.org>
Sat, 6 Aug 2016 01:34:59 +0000 (21:34 -0400)
commita6f5d614c53aaa58595af4998228e82404132739
tree48c1f00c3f6553f216ef09fecc1b5f95e6071e7b
parent5e93e5fc377ebc8bc30ffac1fa20a04cb25459eb
Mkae CT_log_new_from_base64 always return 0 on failure

In one failure case, it used to return -1. That failure case
(CTLOG_new() returning NULL) was not usefully distinct from all of the
other failure cases.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1407)
crypto/ct/ct_b64.c
include/openssl/ct.h
util/libcrypto.num