summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-02-05 12:28:35 +0100
committerLudovic Courtès <ludo@gnu.org>2021-04-23 23:23:48 +0200
commit9e9841e8da64e476f6bbfd14f12eee28364ce929 (patch)
tree833983de1b881732d081e9929620d2f15e948599
parent74ebc70886e71aa21b5f32f047a2436117dc89b5 (diff)
downloadgnutls-9e9841e8da64e476f6bbfd14f12eee28364ce929.tar.gz
guile: Avoid the deprecated 'scm_t_uint8' type.
* guile/src/core.c: Use 'uint8_t' instead of 'scm_t_uint8', which is deprecated in Guile 3.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--guile/src/core.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/guile/src/core.c b/guile/src/core.c
index 84e1009bee..972347d782 100644
--- a/guile/src/core.c
+++ b/guile/src/core.c
@@ -1,5 +1,5 @@
/* GnuTLS --- Guile bindings for GnuTLS.
- Copyright (C) 2007-2014, 2016, 2019, 2020 Free Software Foundation, Inc.
+ Copyright (C) 2007-2014, 2016, 2019, 2020, 2021 Free Software Foundation, Inc.
GnuTLS is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -2735,7 +2735,7 @@ SCM_DEFINE (scm_gnutls_x509_certificate_key_id, "x509-certificate-key-id",
SCM result;
scm_t_array_handle c_id_handle;
gnutls_x509_crt_t c_cert;
- scm_t_uint8 *c_id;
+ uint8_t *c_id;
size_t c_id_len = 20;
c_cert = scm_to_gnutls_x509_certificate (cert, 1, FUNC_NAME);
@@ -2767,7 +2767,7 @@ SCM_DEFINE (scm_gnutls_x509_certificate_authority_key_id,
SCM result;
scm_t_array_handle c_id_handle;
gnutls_x509_crt_t c_cert;
- scm_t_uint8 *c_id;
+ uint8_t *c_id;
size_t c_id_len = 20;
c_cert = scm_to_gnutls_x509_certificate (cert, 1, FUNC_NAME);
@@ -2798,7 +2798,7 @@ SCM_DEFINE (scm_gnutls_x509_certificate_subject_key_id,
SCM result;
scm_t_array_handle c_id_handle;
gnutls_x509_crt_t c_cert;
- scm_t_uint8 *c_id;
+ uint8_t *c_id;
size_t c_id_len = 20;
c_cert = scm_to_gnutls_x509_certificate (cert, 1, FUNC_NAME);