diff options
| author | Eli Zaretskii | 2019-09-30 21:59:58 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2019-09-30 21:59:58 +0300 |
| commit | 9e9bd502ad8ec4e8156f823b048c0b3366ed16b4 (patch) | |
| tree | 700ee8a3c6831c11e051b05ce75e0203135b8476 /src | |
| parent | 5746202c182a9c69c732beb29b8507a6e6364799 (diff) | |
| download | emacs-9e9bd502ad8ec4e8156f823b048c0b3366ed16b4.tar.gz emacs-9e9bd502ad8ec4e8156f823b048c0b3366ed16b4.zip | |
Fix quoting in gnutls.c comments and strings
* src/gnutls.c (gnutls_make_error, emacs_gnutls_global_init)
(Fgnutls_symmetric_encrypt, Fgnutls_symmetric_decrypt)
(Fgnutls_hash_mac, Fgnutls_hash_digest): Fix quoting in doc
strings and comments.
Diffstat (limited to 'src')
| -rw-r--r-- | src/gnutls.c | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/src/gnutls.c b/src/gnutls.c index d43534b5ae1..5f412b50042 100644 --- a/src/gnutls.c +++ b/src/gnutls.c | |||
| @@ -894,7 +894,7 @@ emacs_gnutls_handle_error (gnutls_session_t session, int err) | |||
| 894 | } | 894 | } |
| 895 | 895 | ||
| 896 | /* convert an integer error to a Lisp_Object; it will be either a | 896 | /* convert an integer error to a Lisp_Object; it will be either a |
| 897 | known symbol like `gnutls_e_interrupted' and `gnutls_e_again' or | 897 | known symbol like 'gnutls_e_interrupted' and 'gnutls_e_again' or |
| 898 | simply the integer value of the error. GNUTLS_E_SUCCESS is mapped | 898 | simply the integer value of the error. GNUTLS_E_SUCCESS is mapped |
| 899 | to Qt. */ | 899 | to Qt. */ |
| 900 | static Lisp_Object | 900 | static Lisp_Object |
| @@ -1529,7 +1529,7 @@ returned as the :certificate entry. */) | |||
| 1529 | } | 1529 | } |
| 1530 | 1530 | ||
| 1531 | /* Initialize global GnuTLS state to defaults. | 1531 | /* Initialize global GnuTLS state to defaults. |
| 1532 | Call `gnutls-global-deinit' when GnuTLS usage is no longer needed. | 1532 | Call 'gnutls-global-deinit' when GnuTLS usage is no longer needed. |
| 1533 | Return zero on success. */ | 1533 | Return zero on success. */ |
| 1534 | Lisp_Object | 1534 | Lisp_Object |
| 1535 | emacs_gnutls_global_init (void) | 1535 | emacs_gnutls_global_init (void) |
| @@ -1560,7 +1560,7 @@ gnutls_ip_address_p (char *string) | |||
| 1560 | 1560 | ||
| 1561 | # if 0 | 1561 | # if 0 |
| 1562 | /* Deinitialize global GnuTLS state. | 1562 | /* Deinitialize global GnuTLS state. |
| 1563 | See also `gnutls-global-init'. */ | 1563 | See also 'gnutls-global-init'. */ |
| 1564 | static Lisp_Object | 1564 | static Lisp_Object |
| 1565 | emacs_gnutls_global_deinit (void) | 1565 | emacs_gnutls_global_deinit (void) |
| 1566 | { | 1566 | { |
| @@ -2470,11 +2470,10 @@ The KEY can be specified as a buffer or string or in other ways (see | |||
| 2470 | Info node `(elisp)Format of GnuTLS Cryptography Inputs'). The KEY | 2470 | Info node `(elisp)Format of GnuTLS Cryptography Inputs'). The KEY |
| 2471 | will be wiped after use if it's a string. | 2471 | will be wiped after use if it's a string. |
| 2472 | 2472 | ||
| 2473 | The IV and INPUT and the optional AEAD_AUTH can be specified as a | 2473 | The IV and INPUT and the optional AEAD_AUTH can also be specified as a |
| 2474 | buffer or string or in other ways (see Info node `(elisp)Format of | 2474 | buffer or string or in other ways. |
| 2475 | GnuTLS Cryptography Inputs'). | ||
| 2476 | 2475 | ||
| 2477 | The alist of symmetric ciphers can be obtained with `gnutls-ciphers`. | 2476 | The alist of symmetric ciphers can be obtained with `gnutls-ciphers'. |
| 2478 | The CIPHER may be a string or symbol matching a key in that alist, or | 2477 | The CIPHER may be a string or symbol matching a key in that alist, or |
| 2479 | a plist with the :cipher-id numeric property, or the number itself. | 2478 | a plist with the :cipher-id numeric property, or the number itself. |
| 2480 | 2479 | ||
| @@ -2497,11 +2496,10 @@ The KEY can be specified as a buffer or string or in other ways (see | |||
| 2497 | Info node `(elisp)Format of GnuTLS Cryptography Inputs'). The KEY | 2496 | Info node `(elisp)Format of GnuTLS Cryptography Inputs'). The KEY |
| 2498 | will be wiped after use if it's a string. | 2497 | will be wiped after use if it's a string. |
| 2499 | 2498 | ||
| 2500 | The IV and INPUT and the optional AEAD_AUTH can be specified as a | 2499 | The IV and INPUT and the optional AEAD_AUTH can also be specified as a |
| 2501 | buffer or string or in other ways (see Info node `(elisp)Format of | 2500 | buffer or string or in other ways. |
| 2502 | GnuTLS Cryptography Inputs'). | ||
| 2503 | 2501 | ||
| 2504 | The alist of symmetric ciphers can be obtained with `gnutls-ciphers`. | 2502 | The alist of symmetric ciphers can be obtained with `gnutls-ciphers'. |
| 2505 | The CIPHER may be a string or symbol matching a key in that alist, or | 2503 | The CIPHER may be a string or symbol matching a key in that alist, or |
| 2506 | a plist with the `:cipher-id' numeric property, or the number itself. | 2504 | a plist with the `:cipher-id' numeric property, or the number itself. |
| 2507 | 2505 | ||
| @@ -2592,10 +2590,10 @@ The KEY can be specified as a buffer or string or in other ways (see | |||
| 2592 | Info node `(elisp)Format of GnuTLS Cryptography Inputs'). The KEY | 2590 | Info node `(elisp)Format of GnuTLS Cryptography Inputs'). The KEY |
| 2593 | will be wiped after use if it's a string. | 2591 | will be wiped after use if it's a string. |
| 2594 | 2592 | ||
| 2595 | The INPUT can be specified as a buffer or string or in other | 2593 | The INPUT can also be specified as a buffer or string or in other |
| 2596 | ways (see Info node `(elisp)Format of GnuTLS Cryptography Inputs'). | 2594 | ways. |
| 2597 | 2595 | ||
| 2598 | The alist of MAC algorithms can be obtained with `gnutls-macs`. The | 2596 | The alist of MAC algorithms can be obtained with `gnutls-macs'. The |
| 2599 | HASH-METHOD may be a string or symbol matching a key in that alist, or | 2597 | HASH-METHOD may be a string or symbol matching a key in that alist, or |
| 2600 | a plist with the `:mac-algorithm-id' numeric property, or the number | 2598 | a plist with the `:mac-algorithm-id' numeric property, or the number |
| 2601 | itself. */) | 2599 | itself. */) |
| @@ -2690,7 +2688,7 @@ Return nil on error. | |||
| 2690 | The INPUT can be specified as a buffer or string or in other | 2688 | The INPUT can be specified as a buffer or string or in other |
| 2691 | ways (see Info node `(elisp)Format of GnuTLS Cryptography Inputs'). | 2689 | ways (see Info node `(elisp)Format of GnuTLS Cryptography Inputs'). |
| 2692 | 2690 | ||
| 2693 | The alist of digest algorithms can be obtained with `gnutls-digests`. | 2691 | The alist of digest algorithms can be obtained with `gnutls-digests'. |
| 2694 | The DIGEST-METHOD may be a string or symbol matching a key in that | 2692 | The DIGEST-METHOD may be a string or symbol matching a key in that |
| 2695 | alist, or a plist with the `:digest-algorithm-id' numeric property, or | 2693 | alist, or a plist with the `:digest-algorithm-id' numeric property, or |
| 2696 | the number itself. */) | 2694 | the number itself. */) |