summaryrefslogtreecommitdiff
blob: 4ecb2a2a677a9fc3dfde71c43077d9e5a8957135 (plain)
1
2
3
4
5
6
7
8
9
10
--- ./gnupg.c.old	2007-05-04 17:23:41.000000000 +0400
+++ ./gnupg.c	2010-01-27 15:04:04.000000000 +0300
@@ -136,6 +136,7 @@
 static void gnupg_res_init(gnupg_object *intern TSRMLS_DC){
 	/* init the gpgme-lib and set the default values */
 	gpgme_ctx_t	ctx;
+	gpgme_check_version				(0);
 	gpgme_new					(&ctx);
 	gpgme_set_armor				(ctx,1);
 	intern->ctx				=	ctx;