X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=doc%2Fman3%2FX509_dup.pod;h=8ad7648e172f081aa898b8be5f9480f577ab13a9;hb=9fdcc21fdc9d148f78d9cd5be34030f38cc45812;hp=fd5c05404e1626fe0e0cd0790e12b2ffde9d5744;hpb=27d5631236325c3fd8a3bd06af282ac496aac64b;p=openssl.git diff --git a/doc/man3/X509_dup.pod b/doc/man3/X509_dup.pod index fd5c05404e..8ad7648e17 100644 --- a/doc/man3/X509_dup.pod +++ b/doc/man3/X509_dup.pod @@ -259,7 +259,7 @@ X509_dup, extern const ASN1_ITEM TYPE_it; TYPE *TYPE_new(void); - TYPE *TYPE_dup(TYPE *a); + TYPE *TYPE_dup(const TYPE *a); void TYPE_free(TYPE *a); int TYPE_print_ctx(BIO *out, TYPE *a, int indent, const ASN1_PCTX *pctx); @@ -285,7 +285,7 @@ to generate the function bodies. TYPE_new() allocates an empty object of the indicated type. The object returned must be released by calling TYPE_free(). -TYPE_dup() copies an existing object. +TYPE_dup() copies an existing object, leaving it untouched. TYPE_free() releases the object and all pointers and sub-objects within it.