summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/DSA_SIG_new.3
diff options
context:
space:
mode:
authorschwarze <>2016-11-02 11:57:56 +0000
committerschwarze <>2016-11-02 11:57:56 +0000
commit90c573eba184fe31184d14ce10367f810fa1d417 (patch)
tree62d26e7f75bb451eba292aad57737306b2f28280 /src/lib/libcrypto/man/DSA_SIG_new.3
parentdb06cab2812484b360f2873ade2dd8277ad08a42 (diff)
downloadopenbsd-90c573eba184fe31184d14ce10367f810fa1d417.tar.gz
openbsd-90c573eba184fe31184d14ce10367f810fa1d417.tar.bz2
openbsd-90c573eba184fe31184d14ce10367f810fa1d417.zip
convert DSA and EC manuals from pod to mdoc
Diffstat (limited to 'src/lib/libcrypto/man/DSA_SIG_new.3')
-rw-r--r--src/lib/libcrypto/man/DSA_SIG_new.343
1 files changed, 43 insertions, 0 deletions
diff --git a/src/lib/libcrypto/man/DSA_SIG_new.3 b/src/lib/libcrypto/man/DSA_SIG_new.3
new file mode 100644
index 0000000000..32d21fb782
--- /dev/null
+++ b/src/lib/libcrypto/man/DSA_SIG_new.3
@@ -0,0 +1,43 @@
1.Dd $Mdocdate: November 2 2016 $
2.Dt DSA_SIG_NEW 3
3.Os
4.Sh NAME
5.Nm DSA_SIG_new ,
6.Nm DSA_SIG_free
7.Nd allocate and free DSA signature objects
8.Sh SYNOPSIS
9.In openssl/dsa.h
10.Ft DSA_SIG *
11.Fn DSA_SIG_new void
12.Ft void
13.Fo DSA_SIG_free
14.Fa "DSA_SIG *a"
15.Fc
16.Sh DESCRIPTION
17.Fn DSA_SIG_new
18allocates and initializes a
19.Vt DSA_SIG
20structure.
21.Pp
22.Fn DSA_SIG_free
23frees the
24.Vt DSA_SIG
25structure and its components.
26The values are erased before the memory is returned to the system.
27.Sh RETURN VALUES
28If the allocation fails,
29.Fn DSA_SIG_new
30returns
31.Dv NULL
32and sets an error code that can be obtained by
33.Xr ERR_get_error 3 .
34Otherwise it returns a pointer to the newly allocated structure.
35.Sh SEE ALSO
36.Xr dsa 3 ,
37.Xr DSA_do_sign 3 ,
38.Xr ERR_get_error 3
39.Sh HISTORY
40.Fn DSA_SIG_new
41and
42.Fn DSA_SIG_free
43were added in OpenSSL 0.9.3.