doc: Refactored the example in crypto.pod
authoryangyangtiantianlonglong <yangtianlong1224@163.com>
Wed, 16 Feb 2022 15:33:17 +0000 (23:33 +0800)
committerDr. Matthias St. Pierre <matthias.st.pierre@ncp-e.com>
Sun, 20 Feb 2022 11:58:18 +0000 (12:58 +0100)
commit18e046c8a2e562cf947aa2b5b4cce31bb0ff75a1
tree6fd283a9c9e2194690d4e1e8e20af6a69dbed14b
parent6ff03e39189b4b1767157d1e1035365036f4f907
doc: Refactored the example in crypto.pod

Added return value and error code in the sample

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17721)

(cherry picked from commit 4a4f446008938775c2bea3001c4c8e7a674992ad)
doc/man7/crypto.pod