diff options
| author | Eli Zaretskii | 2019-08-23 10:38:14 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2019-08-23 10:38:14 +0300 |
| commit | c3753a322a73aaad31f155a2045cb0d030815ed2 (patch) | |
| tree | 18b70b7e447fe03e5661ea6d78414e15612303de /src/gnutls.c | |
| parent | aae9ac275c96438b99d977a6ad6726f5b43d3204 (diff) | |
| download | emacs-c3753a322a73aaad31f155a2045cb0d030815ed2.tar.gz emacs-c3753a322a73aaad31f155a2045cb0d030815ed2.zip | |
Fix recent changes in gnutls.c
* src/gnutls.c: Fix typos that broke the MS-Windows build.
(Fgnutls_peer_status_warning_describe): Fix incomplete error
message string.
Diffstat (limited to 'src/gnutls.c')
| -rw-r--r-- | src/gnutls.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gnutls.c b/src/gnutls.c index ce977d901c6..db452e01aa6 100644 --- a/src/gnutls.c +++ b/src/gnutls.c | |||
| @@ -163,7 +163,7 @@ DEF_DLL_FN (int, gnutls_x509_crt_check_hostname, | |||
| 163 | DEF_DLL_FN (int, gnutls_x509_crt_check_issuer, | 163 | DEF_DLL_FN (int, gnutls_x509_crt_check_issuer, |
| 164 | (gnutls_x509_crt_t, gnutls_x509_crt_t)); | 164 | (gnutls_x509_crt_t, gnutls_x509_crt_t)); |
| 165 | DEF_DLL_FN (void, gnutls_x509_crt_deinit, (gnutls_x509_crt_t)); | 165 | DEF_DLL_FN (void, gnutls_x509_crt_deinit, (gnutls_x509_crt_t)); |
| 166 | DEF_DLL_DN (int, gnutls_x509_crt_export, | 166 | DEF_DLL_FN (int, gnutls_x509_crt_export, |
| 167 | (gnutls_x509_crt_t, gnutls_x509_crt_fmt_t, void *, size_t *)); | 167 | (gnutls_x509_crt_t, gnutls_x509_crt_fmt_t, void *, size_t *)); |
| 168 | DEF_DLL_FN (int, gnutls_x509_crt_import, | 168 | DEF_DLL_FN (int, gnutls_x509_crt_import, |
| 169 | (gnutls_x509_crt_t, const gnutls_datum_t *, | 169 | (gnutls_x509_crt_t, const gnutls_datum_t *, |
| @@ -350,7 +350,7 @@ init_gnutls_functions (void) | |||
| 350 | LOAD_DLL_FN (library, gnutls_x509_crt_get_expiration_time); | 350 | LOAD_DLL_FN (library, gnutls_x509_crt_get_expiration_time); |
| 351 | LOAD_DLL_FN (library, gnutls_x509_crt_get_dn); | 351 | LOAD_DLL_FN (library, gnutls_x509_crt_get_dn); |
| 352 | LOAD_DLL_FN (library, gnutls_x509_crt_get_pk_algorithm); | 352 | LOAD_DLL_FN (library, gnutls_x509_crt_get_pk_algorithm); |
| 353 | LOAD_DLL_FN (library, gnutls_x509_crt_print) | 353 | LOAD_DLL_FN (library, gnutls_x509_crt_print); |
| 354 | LOAD_DLL_FN (library, gnutls_pk_algorithm_get_name); | 354 | LOAD_DLL_FN (library, gnutls_pk_algorithm_get_name); |
| 355 | LOAD_DLL_FN (library, gnutls_pk_bits_to_sec_param); | 355 | LOAD_DLL_FN (library, gnutls_pk_bits_to_sec_param); |
| 356 | LOAD_DLL_FN (library, gnutls_x509_crt_get_issuer_unique_id); | 356 | LOAD_DLL_FN (library, gnutls_x509_crt_get_issuer_unique_id); |
| @@ -464,7 +464,7 @@ init_gnutls_functions (void) | |||
| 464 | # define gnutls_mac_get_name fn_gnutls_mac_get_name | 464 | # define gnutls_mac_get_name fn_gnutls_mac_get_name |
| 465 | # define gnutls_compression_get fn_gnutls_compression_get | 465 | # define gnutls_compression_get fn_gnutls_compression_get |
| 466 | # define gnutls_compression_get_name fn_gnutls_compression_get_name | 466 | # define gnutls_compression_get_name fn_gnutls_compression_get_name |
| 467 | # define gnutls_safe_renegotiation_status fn_gnutls_safe_renegotiation_status; | 467 | # define gnutls_safe_renegotiation_status fn_gnutls_safe_renegotiation_status |
| 468 | # define gnutls_pk_algorithm_get_name fn_gnutls_pk_algorithm_get_name | 468 | # define gnutls_pk_algorithm_get_name fn_gnutls_pk_algorithm_get_name |
| 469 | # define gnutls_pk_bits_to_sec_param fn_gnutls_pk_bits_to_sec_param | 469 | # define gnutls_pk_bits_to_sec_param fn_gnutls_pk_bits_to_sec_param |
| 470 | # define gnutls_priority_set_direct fn_gnutls_priority_set_direct | 470 | # define gnutls_priority_set_direct fn_gnutls_priority_set_direct |
| @@ -1321,7 +1321,7 @@ DEFUN ("gnutls-peer-status-warning-describe", Fgnutls_peer_status_warning_descri | |||
| 1321 | return build_string ("certificate revocation data have a future issue date"); | 1321 | return build_string ("certificate revocation data have a future issue date"); |
| 1322 | 1322 | ||
| 1323 | if (EQ (status_symbol, intern (":signer-constraints-failure"))) | 1323 | if (EQ (status_symbol, intern (":signer-constraints-failure"))) |
| 1324 | return build_string ("certificate "); | 1324 | return build_string ("certificate signer constraints were violated"); |
| 1325 | 1325 | ||
| 1326 | if (EQ (status_symbol, intern (":purpose-mismatch"))) | 1326 | if (EQ (status_symbol, intern (":purpose-mismatch"))) |
| 1327 | return build_string ("certificate does not match the intended purpose"); | 1327 | return build_string ("certificate does not match the intended purpose"); |