X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=doc%2Fcrypto%2Fcrypto.pod;h=aad75af0df6debe7dbe6ed6357194d06707d256f;hp=4b9ceacd912b06d315987b3b6368f773f2cc888f;hb=c03726ca4153fca8d66185837008aa078969d386;hpb=c1ce32f1bffb208a6ee03c7b1b03ef80988367ea diff --git a/doc/crypto/crypto.pod b/doc/crypto/crypto.pod index 4b9ceacd91..aad75af0df 100644 --- a/doc/crypto/crypto.pod +++ b/doc/crypto/crypto.pod @@ -27,41 +27,59 @@ hash functions and a cryptographic pseudo-random number generator. =item SYMMETRIC CIPHERS -L, L, L, -L, L, L, L +L, L, L, +L, L, L, L =item PUBLIC KEY CRYPTOGRAPHY AND KEY AGREEMENT -L, L, L +L, L, L, L =item CERTIFICATES -L, L +L, L =item AUTHENTICATION CODES, HASH FUNCTIONS -L, L, L, L, -L, L +L, L, L, +L, L, L, +L =item AUXILIARY FUNCTIONS -L, L, L +L, L, L, +L =item INPUT/OUTPUT, DATA ENCODING -L, L, L, L, -L, L +L, L, L, L, +L, L -=item INTERNAL FUNCTIONS +=item UTILITY FUNCTIONS -L, L, L, -L, L, -L +L, L, L, +L, +L =back +=head1 NOTES + +Some of the newer functions follow a naming convention using the numbers +B<0> and B<1>. For example the functions: + + int X509_CRL_add0_revoked(X509_CRL *crl, X509_REVOKED *rev); + int X509_add1_trust_object(X509 *x, ASN1_OBJECT *obj); + +The B<0> version uses the supplied structure pointer directly +in the parent and it will be freed up when the parent is freed. +In the above example B would be freed but B would not. + +The B<1> function uses a copy of the supplied structure pointer +(or in some cases increases its link count) in the parent and +so both (B and B above) should be freed up. + =head1 SEE ALSO -L, L +L, L =cut