summaryrefslogtreecommitdiff
path: root/lib/libcrypto
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2020-09-08 03:25:16 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2020-09-08 03:25:16 +0000
commit74845e6bb388a69ebc03adab77b790cb6fa7cab4 (patch)
tree46ca35b6ab3353ef0766e798fd67a299c3706f0b /lib/libcrypto
parent2d43737e292ce6bfa17fb2542cfd9b27d0640eab (diff)
Mention that EC_KEY_get0_public_key returns a public key.
wording from jmc
Diffstat (limited to 'lib/libcrypto')
-rw-r--r--lib/libcrypto/man/EC_KEY_new.38
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libcrypto/man/EC_KEY_new.3 b/lib/libcrypto/man/EC_KEY_new.3
index ba0774ccd43..ef3028c4b71 100644
--- a/lib/libcrypto/man/EC_KEY_new.3
+++ b/lib/libcrypto/man/EC_KEY_new.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: EC_KEY_new.3,v 1.15 2019/08/19 13:08:26 schwarze Exp $
+.\" $OpenBSD: EC_KEY_new.3,v 1.16 2020/09/08 03:25:15 tb Exp $
.\" full merge up to: OpenSSL 3aef36ff Jan 5 13:06:03 2016 -0500
.\" partial merge up to: OpenSSL e9b77246 Jan 20 19:58:49 2017 +0100
.\"
@@ -49,7 +49,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: August 19 2019 $
+.Dd $Mdocdate: September 8 2020 $
.Dt EC_KEY_NEW 3
.Os
.Sh NAME
@@ -509,7 +509,9 @@ associated with the
.Vt EC_KEY .
.Pp
.Fn EC_KEY_get0_private_key
-returns the private key associated with the
+and
+.Fn EC_KEY_get0_public_key
+return the private or public keys, respectively, associated with the
.Vt EC_KEY .
.Pp
.Fn EC_KEY_get_enc_flags