GNOME Bugzilla – Bug 681121
gnutls: port GTlsFileDatabaseGnutls to GBytes
Last modified: 2012-08-06 20:40:05 UTC
* Instead of GByteArray, where possible
Created attachment 220220 [details] [review] gnutls: port GTlsFileDatabaseGnutls to GBytes
Comment on attachment 220220 [details] [review] gnutls: port GTlsFileDatabaseGnutls to GBytes >+ g_object_get (cert, "certificate", &array, NULL); >+ g_return_val_if_fail (array, NULL); >+ return g_byte_array_free_to_bytes (array); as in the other patch, you can't do that. (Well, I guess you can, since you know it's a GTlsCertificateGnutls, but you shouldn't anyway.) Maybe add "certificate-bytes" and "private-key-bytes" properties to GTlsCertificate?
Created attachment 220477 [details] [review] gnutls: port GTlsFileDatabaseGnutls to GBytes * Instead of GByteArray, where possible
Attachment 220477 [details] pushed as c63f079 - gnutls: port GTlsFileDatabaseGnutls to GBytes