[gnome-keyring/trust-store: 13/26] [gcr] Make GcrSimpleCertificate constructor accept simple pointer.
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keyring/trust-store: 13/26] [gcr] Make GcrSimpleCertificate constructor accept simple pointer.
- Date: Mon, 6 Dec 2010 22:43:45 +0000 (UTC)
commit 84f44154cdfcee219ebc4ab3b7fe5940f4c1cee4
Author: Stef Walter <stefw collabora co uk>
Date: Thu Dec 2 18:53:50 2010 +0000
[gcr] Make GcrSimpleCertificate constructor accept simple pointer.
Make it easier to deal with data whether unsigned or signed,
gint8 or char, etc.
gcr/gcr-simple-certificate.c | 2 +-
gcr/gcr-simple-certificate.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gcr/gcr-simple-certificate.c b/gcr/gcr-simple-certificate.c
index f9a00c1..482593f 100644
--- a/gcr/gcr-simple-certificate.c
+++ b/gcr/gcr-simple-certificate.c
@@ -111,7 +111,7 @@ gcr_simple_certificate_new (gconstpointer data, gsize n_data)
}
GcrCertificate*
-gcr_simple_certificate_new_static (const guchar *data, gsize n_data)
+gcr_simple_certificate_new_static (gconstpointer data, gsize n_data)
{
GcrSimpleCertificate *cert;
diff --git a/gcr/gcr-simple-certificate.h b/gcr/gcr-simple-certificate.h
index ccc9815..e5a3863 100644
--- a/gcr/gcr-simple-certificate.h
+++ b/gcr/gcr-simple-certificate.h
@@ -53,7 +53,7 @@ GType gcr_simple_certificate_get_type (void);
GcrCertificate* gcr_simple_certificate_new (gconstpointer data,
gsize n_data);
-GcrCertificate* gcr_simple_certificate_new_static (const guchar *data,
+GcrCertificate* gcr_simple_certificate_new_static (gconstpointer data,
gsize n_data);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]