]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
guile: Avoid the deprecated 'scm_t_uint8' type.
authorLudovic Courtès <ludo@gnu.org>
Fri, 5 Feb 2021 11:28:35 +0000 (12:28 +0100)
committerLudovic Courtès <ludo@gnu.org>
Fri, 23 Apr 2021 21:23:48 +0000 (23:23 +0200)
* 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>
guile/src/core.c

index 84e1009bee45f9699b3eac8a48295a3d8067653b..972347d782bfde11db1a6c4f898277d5b51344d3 100644 (file)
@@ -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);