rnpgp / rnp

RNP: high performance C++ OpenPGP library used by Mozilla Thunderbird
https://www.rnpgp.org
Other
194 stars 55 forks source link

The page "Using RNP’s C APIs" is wrong or out-of-date #989

Closed jpo234 closed 4 years ago

jpo234 commented 4 years ago

Description

The page Using RNP’s C APIs is wrong or out-of-date.

It says:

All samples below use APIs exposed via header file include/rnp/rnp.h, check it out for more documentation.

when in fact the samples use #include <rnp/rnp2.h>

It says:

Following sample applications are available: dump Shows how to dump OpenPGP packet information.

when in fact there is no dump:

~/src/rngpg/rnp-0.12.0/src/examples$ ls
CMakeFiles           CMakeLists.txt  decrypt.c  encrypt.c  generate.c  README.md  sign.c  verify.c
cmake_install.cmake  decrypt         encrypt    generate   Makefile    sign       verify
jpo234 commented 4 years ago

Sorry, just noticed that in master this is indeed true.