summaryrefslogtreecommitdiff
path: root/gcr/gcr-pkcs11-certificate.c
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2011-09-29 15:03:39 +0200
committerStef Walter <stefw@collabora.co.uk>2011-09-29 15:03:39 +0200
commit8177dd8f2797c897ca037a1288350e42e10dc38c (patch)
tree016858878179ffc8d004de3856750417ba6749f4 /gcr/gcr-pkcs11-certificate.c
parente8cbdae82efcf8508d900547396b74c74080ae45 (diff)
downloadgcr-8177dd8f2797c897ca037a1288350e42e10dc38c.tar.gz
gcr: More introspection and documentation cleanup
* Tag proper transfer on return values * Use guchar * for arrays of bytes
Diffstat (limited to 'gcr/gcr-pkcs11-certificate.c')
-rw-r--r--gcr/gcr-pkcs11-certificate.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcr/gcr-pkcs11-certificate.c b/gcr/gcr-pkcs11-certificate.c
index 8e256b0..25c2207 100644
--- a/gcr/gcr-pkcs11-certificate.c
+++ b/gcr/gcr-pkcs11-certificate.c
@@ -298,8 +298,9 @@ gcr_pkcs11_certificate_class_init (GcrPkcs11CertificateClass *klass)
_gcr_initialize_library ();
}
-static gconstpointer
-gcr_pkcs11_certificate_get_der_data (GcrCertificate *cert, gsize *n_data)
+static const guchar *
+gcr_pkcs11_certificate_get_der_data (GcrCertificate *cert,
+ gsize *n_data)
{
GcrPkcs11Certificate *self = GCR_PKCS11_CERTIFICATE (cert);
GckAttribute *attr;