Commit 95ec1a71 authored by Richard Levitte's avatar Richard Levitte
Browse files

Document that you need to include x509.h (to get [i2d|d2i]_DSA_PUBKEY()).

Correct the typo PUKEY...
parent 325829a9
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@ and parsing functions.
=head1 SYNOPSIS

 #include <openssl/dsa.h>
 #include <openssl/x509.h>

 DSA * d2i_DSAPublicKey(DSA **a, const unsigned char **pp, long length);

@@ -35,8 +36,8 @@ and parsing functions.
d2i_DSAPublicKey() and i2d_DSAPublicKey() decode and encode the DSA public key
components structure.

d2i_DSA_PUKEY() and i2d_DSA_PUKEY() decode and encode an DSA public key using a
SubjectPublicKeyInfo (certificate public key) structure.
d2i_DSA_PUBKEY() and i2d_DSA_PUBKEY() decode and encode an DSA public key using
a SubjectPublicKeyInfo (certificate public key) structure.

d2i_DSAPrivateKey(), i2d_DSAPrivateKey() decode and encode the DSA private key
components.