Change the return type of EVP_EncodeUpdate
authorMatt Caswell <matt@openssl.org>
Mon, 25 Apr 2016 12:56:44 +0000 (13:56 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 16 Jun 2016 08:50:48 +0000 (09:50 +0100)
commitcf3404fcc77aaf592c95326cbdd25612a8af6878
treef85b17508cae4736176c27266148a23f64a7571a
parent2ac6115d9ee35308300b82d96078d03d81e7d320
Change the return type of EVP_EncodeUpdate

Previously EVP_EncodeUpdate returned a void. However there are a couple
of error conditions that can occur. Therefore the return type has been
changed to an int, with 0 indicating error and 1 indicating success.

Reviewed-by: Rich Salz <rsalz@openssl.org>
CHANGES
crypto/evp/bio_b64.c
crypto/evp/encode.c
crypto/pem/pem_lib.c
doc/crypto/EVP_EncodeInit.pod
include/openssl/evp.h