doc: Minor comment cleanups.

--

Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2018-12-03 10:40:52 +01:00
parent 2e3a681d0c
commit 649b196881
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
3 changed files with 8 additions and 12 deletions

View File

@ -2461,9 +2461,9 @@ the context @var{ctx} to @var{proto}. All crypto operations will be
performed by the crypto engine configured for that protocol. performed by the crypto engine configured for that protocol.
@xref{Protocols and Engines}. @xref{Protocols and Engines}.
Setting the protocol with @code{gpgme_set_protocol} does not check if Setting the protocol with @code{gpgme_set_protocol} does intentionally
the crypto engine for that protocol is available and installed not check if the crypto engine for that protocol is available and
correctly. @xref{Engine Version Check}. installed correctly. @xref{Engine Version Check}.
The function returns the error code @code{GPG_ERR_NO_ERROR} if the The function returns the error code @code{GPG_ERR_NO_ERROR} if the
protocol could be set successfully, and @code{GPG_ERR_INV_VALUE} if protocol could be set successfully, and @code{GPG_ERR_INV_VALUE} if

View File

@ -8,16 +8,10 @@ Introduction
+-----------------------------------+-----------------------------------+ +-----------------------------------+-----------------------------------+
| GPGME Version: | 1.12.1 | | GPGME Version: | 1.12.1 |
+-----------------------------------+-----------------------------------+ +-----------------------------------+-----------------------------------+
| Author: | `Ben | | Author: | Ben McGinnes <ben@gnupg.org> |
| | McGinnes <https://gnupg.org/peopl |
| | e/index.html#sec-1-5>`__ |
| | <ben@gnupg.org> |
+-----------------------------------+-----------------------------------+ +-----------------------------------+-----------------------------------+
| Author GPG Key: | `DB4724E6FA4286C92B4E55C4321E4E23 | | Author GPG Key: | DB4724E6FA4286C92B4E55C4321E4E23 |
| | 73590E5D <https://hkps.pool.sks-k | | | 73590E5D |
| | eyservers.net/pks/lookup?search=0 |
| | xDB4724E6FA4286C92B4E55C4321E4E23 |
| | 73590E5D&exact=on&op=get>`__ |
+-----------------------------------+-----------------------------------+ +-----------------------------------+-----------------------------------+
| Language: | Australian English, British | | Language: | Australian English, British |
| | English | | | English |

View File

@ -320,6 +320,8 @@ _gpgme_release_result (gpgme_ctx_t ctx)
} }
/* Note that setting the protocol will intentionally not fail if the
* engine is not available. */
gpgme_error_t gpgme_error_t
gpgme_set_protocol (gpgme_ctx_t ctx, gpgme_protocol_t protocol) gpgme_set_protocol (gpgme_ctx_t ctx, gpgme_protocol_t protocol)
{ {