diff options
author | schwarze <> | 2016-11-02 11:57:56 +0000 |
---|---|---|
committer | schwarze <> | 2016-11-02 11:57:56 +0000 |
commit | 90c573eba184fe31184d14ce10367f810fa1d417 (patch) | |
tree | 62d26e7f75bb451eba292aad57737306b2f28280 /src/lib/libcrypto/man/DSA_SIG_new.3 | |
parent | db06cab2812484b360f2873ade2dd8277ad08a42 (diff) | |
download | openbsd-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.3 | 43 |
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 | ||
18 | allocates and initializes a | ||
19 | .Vt DSA_SIG | ||
20 | structure. | ||
21 | .Pp | ||
22 | .Fn DSA_SIG_free | ||
23 | frees the | ||
24 | .Vt DSA_SIG | ||
25 | structure and its components. | ||
26 | The values are erased before the memory is returned to the system. | ||
27 | .Sh RETURN VALUES | ||
28 | If the allocation fails, | ||
29 | .Fn DSA_SIG_new | ||
30 | returns | ||
31 | .Dv NULL | ||
32 | and sets an error code that can be obtained by | ||
33 | .Xr ERR_get_error 3 . | ||
34 | Otherwise 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 | ||
41 | and | ||
42 | .Fn DSA_SIG_free | ||
43 | were added in OpenSSL 0.9.3. | ||