Deleted Added
full compact
crypto.3 (100947) crypto.3 (110010)
1.\" Automatically generated by Pod::Man version 1.15
1.\" Automatically generated by Pod::Man version 1.15
2.\" Tue Jul 30 09:22:00 2002
2.\" Mon Jan 13 19:28:59 2003
3.\"
4.\" Standard preamble:
5.\" ======================================================================
6.de Sh \" Subsection heading
7.br
8.if t .Sp
9.ne 5
10.PP

--- 122 unchanged lines hidden (view full) ---

133. ds Th \o'LP'
134. ds ae ae
135. ds Ae AE
136.\}
137.rm #[ #] #H #V #F C
138.\" ======================================================================
139.\"
140.IX Title "crypto 3"
3.\"
4.\" Standard preamble:
5.\" ======================================================================
6.de Sh \" Subsection heading
7.br
8.if t .Sp
9.ne 5
10.PP

--- 122 unchanged lines hidden (view full) ---

133. ds Th \o'LP'
134. ds ae ae
135. ds Ae AE
136.\}
137.rm #[ #] #H #V #F C
138.\" ======================================================================
139.\"
140.IX Title "crypto 3"
141.TH crypto 3 "0.9.6e" "2002-07-30" "OpenSSL"
141.TH crypto 3 "0.9.7" "2003-01-13" "OpenSSL"
142.UC
143.SH "NAME"
144crypto \- OpenSSL cryptographic library
145.SH "SYNOPSIS"
146.IX Header "SYNOPSIS"
147.SH "DESCRIPTION"
148.IX Header "DESCRIPTION"
149The OpenSSL \fBcrypto\fR library implements a wide range of cryptographic

--- 32 unchanged lines hidden (view full) ---

182.IX Item "INPUT/OUTPUT, DATA ENCODING"
183asn1(3), bio(3), evp(3), pem(3),
184pkcs7(3), pkcs12(3)
185.Ip "\s-1INTERNAL\s0 \s-1FUNCTIONS\s0" 4
186.IX Item "INTERNAL FUNCTIONS"
187bn(3), buffer(3), lhash(3),
188objects(3), stack(3),
189txt_db(3)
142.UC
143.SH "NAME"
144crypto \- OpenSSL cryptographic library
145.SH "SYNOPSIS"
146.IX Header "SYNOPSIS"
147.SH "DESCRIPTION"
148.IX Header "DESCRIPTION"
149The OpenSSL \fBcrypto\fR library implements a wide range of cryptographic

--- 32 unchanged lines hidden (view full) ---

182.IX Item "INPUT/OUTPUT, DATA ENCODING"
183asn1(3), bio(3), evp(3), pem(3),
184pkcs7(3), pkcs12(3)
185.Ip "\s-1INTERNAL\s0 \s-1FUNCTIONS\s0" 4
186.IX Item "INTERNAL FUNCTIONS"
187bn(3), buffer(3), lhash(3),
188objects(3), stack(3),
189txt_db(3)
190.SH "NOTES"
191.IX Header "NOTES"
192Some of the newer functions follow a naming convention using the numbers
193\&\fB0\fR and \fB1\fR. For example the functions:
194.PP
195.Vb 2
196\& int X509_CRL_add0_revoked(X509_CRL *crl, X509_REVOKED *rev);
197\& int X509_add1_trust_object(X509 *x, ASN1_OBJECT *obj);
198.Ve
199The \fB0\fR version uses the supplied structure pointer directly
200in the parent and it will be freed up when the parent is freed.
201In the above example \fBcrl\fR would be freed but \fBrev\fR would not.
202.PP
203The \fB1\fR function uses a copy of the supplied structure pointer
204(or in some cases increases its link count) in the parent and
205so both (\fBx\fR and \fBobj\fR above) should be freed up.
190.SH "SEE ALSO"
191.IX Header "SEE ALSO"
192openssl(1), ssl(3)
206.SH "SEE ALSO"
207.IX Header "SEE ALSO"
208openssl(1), ssl(3)