summaryrefslogtreecommitdiff
path: root/egg/egg-openssl.h
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2011-08-31 21:06:00 +0200
committerStef Walter <stefw@collabora.co.uk>2011-09-01 11:30:30 +0200
commitc80fcdeb016e197be54ad7ebbefeeb9823d76155 (patch)
treec2c7447776f86af05ed5c3653e3eb9c99e0030b2 /egg/egg-openssl.h
parent08aa3f057147d345b8e8e14affbec01750e7c4cf (diff)
egg: Make OpenSSL PEM routines return outer block as well.
* We expose this in GcrParser so that we can reparse a block that needs a password.
Diffstat (limited to 'egg/egg-openssl.h')
-rw-r--r--egg/egg-openssl.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/egg/egg-openssl.h b/egg/egg-openssl.h
index 3253d73e..49716dd6 100644
--- a/egg/egg-openssl.h
+++ b/egg/egg-openssl.h
@@ -26,8 +26,13 @@
#include <glib.h>
-typedef void (*EggOpensslPemCallback) (GQuark type, const guchar *data, gsize n_data,
- GHashTable *headers, gpointer user_data);
+typedef void (*EggOpensslPemCallback) (GQuark type,
+ const guchar *data,
+ gsize n_data,
+ const gchar *outer,
+ gsize n_outer,
+ GHashTable *headers,
+ gpointer user_data);
GHashTable* egg_openssl_headers_new (void);