Fix ECDSA_SIG docs
authorMatt Caswell <matt@openssl.org>
Mon, 5 Aug 2019 15:13:24 +0000 (16:13 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 6 Aug 2019 10:34:10 +0000 (11:34 +0100)
commitda4ea0cfe63619899ceb7575a7c8fbf1507fdcb6
tree416c4ab57aca68879368533cd841765795422fe1
parentbd1a74f8ee92d2b63d19308fd3dfee2936af9d17
Fix ECDSA_SIG docs

They incorrectly said that i2d_ECDSA_SIG returns 0 on error. In fact it
returns a negative value on error.

We fix this by moving the i2d_ECDSA_SIG/d2i_ECDSA_SIG docs onto the same
page as all the other d2i/i2d docs.

Fixes #9517

Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/9533)

(cherry picked from commit bbda79976b5c5095c5e6557311c86c623ba335f1)
doc/man3/ECDSA_SIG_new.pod
doc/man3/d2i_X509.pod
include/openssl/ec.h