diff options
| author | Paul Eggert | 2017-07-16 17:27:03 -0700 |
|---|---|---|
| committer | Paul Eggert | 2017-07-16 17:27:30 -0700 |
| commit | 8250a20f9dd6c53ee1891c16a24c746110f594f6 (patch) | |
| tree | 79b22a8ca0f7d9c55333c90d10f6823bba473416 /src | |
| parent | b740b02d2311cb5a3dd61767f824f3bfa770184e (diff) | |
| download | emacs-8250a20f9dd6c53ee1891c16a24c746110f594f6.tar.gz emacs-8250a20f9dd6c53ee1891c16a24c746110f594f6.zip | |
* src/gnutls.c: Restore some comments.
Diffstat (limited to 'src')
| -rw-r--r-- | src/gnutls.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/gnutls.c b/src/gnutls.c index 7d19f90fbb8..bcccd7ffd37 100644 --- a/src/gnutls.c +++ b/src/gnutls.c | |||
| @@ -1857,7 +1857,10 @@ The alist key is the cipher name. */) | |||
| 1857 | for (ptrdiff_t pos = 0; gciphers[pos] != GNUTLS_CIPHER_NULL; pos++) | 1857 | for (ptrdiff_t pos = 0; gciphers[pos] != GNUTLS_CIPHER_NULL; pos++) |
| 1858 | { | 1858 | { |
| 1859 | gnutls_cipher_algorithm_t gca = gciphers[pos]; | 1859 | gnutls_cipher_algorithm_t gca = gciphers[pos]; |
| 1860 | |||
| 1861 | /* A symbol representing the GnuTLS cipher. */ | ||
| 1860 | Lisp_Object cipher_symbol = intern (gnutls_cipher_get_name (gca)); | 1862 | Lisp_Object cipher_symbol = intern (gnutls_cipher_get_name (gca)); |
| 1863 | |||
| 1861 | ptrdiff_t cipher_tag_size = gnutls_cipher_get_tag_size (gca); | 1864 | ptrdiff_t cipher_tag_size = gnutls_cipher_get_tag_size (gca); |
| 1862 | 1865 | ||
| 1863 | Lisp_Object cp | 1866 | Lisp_Object cp |
| @@ -2200,9 +2203,10 @@ name. */) | |||
| 2200 | { | 2203 | { |
| 2201 | const gnutls_mac_algorithm_t gma = macs[pos]; | 2204 | const gnutls_mac_algorithm_t gma = macs[pos]; |
| 2202 | 2205 | ||
| 2203 | const char *name = gnutls_mac_get_name (gma); | 2206 | /* A symbol representing the GnuTLS MAC algorithm. */ |
| 2207 | Lisp_Object gma_symbol = intern (gnutls_mac_get_name (gma)); | ||
| 2204 | 2208 | ||
| 2205 | Lisp_Object mp = listn (CONSTYPE_HEAP, 11, intern (name), | 2209 | Lisp_Object mp = listn (CONSTYPE_HEAP, 11, gma_symbol, |
| 2206 | QCmac_algorithm_id, make_number (gma), | 2210 | QCmac_algorithm_id, make_number (gma), |
| 2207 | QCtype, Qgnutls_type_mac_algorithm, | 2211 | QCtype, Qgnutls_type_mac_algorithm, |
| 2208 | 2212 | ||
| @@ -2236,9 +2240,10 @@ method name. */) | |||
| 2236 | { | 2240 | { |
| 2237 | const gnutls_digest_algorithm_t gda = digests[pos]; | 2241 | const gnutls_digest_algorithm_t gda = digests[pos]; |
| 2238 | 2242 | ||
| 2239 | const char *name = gnutls_digest_get_name (gda); | 2243 | /* A symbol representing the GnuTLS digest algorithm. */ |
| 2244 | Lisp_Object gda_symbol = intern (gnutls_digest_get_name (gda)); | ||
| 2240 | 2245 | ||
| 2241 | Lisp_Object mp = listn (CONSTYPE_HEAP, 7, intern (name), | 2246 | Lisp_Object mp = listn (CONSTYPE_HEAP, 7, gda_symbol, |
| 2242 | QCdigest_algorithm_id, make_number (gda), | 2247 | QCdigest_algorithm_id, make_number (gda), |
| 2243 | QCtype, Qgnutls_type_digest_algorithm, | 2248 | QCtype, Qgnutls_type_digest_algorithm, |
| 2244 | 2249 | ||