[PATCH] fix api doc for gcry_mpi_ec_new

Hanno Böck hanno at hboeck.de
Sat Dec 5 11:11:58 CET 2015


Hi,

I think I found an error in the API doc of libgcrypt.

See here:
https://gnupg.org/documentation/manuals/gcrypt/EC-functions.html
This page is as far as I assume somehow autogenerated from gcrypt.texi
in the libgcrypt source:
http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=blob;f=doc/gcrypt.texi;h=cdb76445aae77f41702a3fe22939faeaa87d7a9e;hb=HEAD

The function
gcry_mpi_ec_p_new
does not exist in current versions of libgcrypt. The function that
should be documented here is called gcry_mpi_ec_new now. Also the type
of the context is not gpg_ctx_t (that type doesn't exist, at least not
in the public gcrypt api), it is gcry_ctx_t.

Patch attached, please apply.

Hanno
-- 
Hanno Böck
http://hboeck.de/

mail/jabber: hanno at hboeck.de
GPG: BBB51E42
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgcrypt-fix-gcry_mpi_ec_new-apidoc.diff
Type: text/x-patch
Size: 458 bytes
Desc: not available
URL: </pipermail/attachments/20151205/5763ebbd/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20151205/5763ebbd/attachment.sig>


More information about the Gcrypt-devel mailing list