summaryrefslogtreecommitdiff
path: root/egg/egg-openssl.h
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2012-07-16 11:26:18 +0200
committerStef Walter <stefw@gnome.org>2012-07-16 11:30:34 +0200
commit9d5c86537af8940d26a573da82cafb69640438b2 (patch)
tree5eddf5d957848e151b0b1aec9d835926730a8433 /egg/egg-openssl.h
parentd31a26df7ce8d9c084b9c66fe00458683dde9864 (diff)
Convert from EggBytes to GBytes
* We were using EggBytes while GBytes was not yet in a stable glib release
Diffstat (limited to 'egg/egg-openssl.h')
-rw-r--r--egg/egg-openssl.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/egg/egg-openssl.h b/egg/egg-openssl.h
index 642d9062..6c94a7ba 100644
--- a/egg/egg-openssl.h
+++ b/egg/egg-openssl.h
@@ -26,20 +26,18 @@
#include <glib.h>
-#include <egg/egg-bytes.h>
-
int egg_openssl_parse_algo (const gchar *name, int *mode);
guchar * egg_openssl_encrypt_block (const gchar *dekinfo,
const gchar *password,
gssize n_password,
- EggBytes *data,
+ GBytes *data,
gsize *n_encrypted);
guchar * egg_openssl_decrypt_block (const gchar *dekinfo,
const gchar *password,
gssize n_password,
- EggBytes *data,
+ GBytes *data,
gsize *n_decrypted);
const gchar* egg_openssl_get_dekinfo (GHashTable *headers);