[gmime] fixed the build
- From: Jeffrey Stedfast <fejj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gmime] fixed the build
- Date: Wed, 8 Mar 2017 13:33:35 +0000 (UTC)
commit 288ee21691154af50e4f8202657ff17eba1ce906
Author: Jeffrey Stedfast <fejj gnome org>
Date: Sun Feb 19 16:48:43 2017 -0500
fixed the build
gmime/gmime-pkcs7-context.c | 2 +-
tests/test-pgp.c | 2 +-
tests/test-pkcs7.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gmime/gmime-pkcs7-context.c b/gmime/gmime-pkcs7-context.c
index 3626757..c2a0666 100644
--- a/gmime/gmime-pkcs7-context.c
+++ b/gmime/gmime-pkcs7-context.c
@@ -617,7 +617,7 @@ pkcs7_verify (GMimeCryptoContext *context, GMimeVerifyFlags flags, GMimeDigestAl
/* if @ostream is non-NULL, then we are expected to write the extracted plaintext to it */
if (ostream != NULL) {
- if ((error = gpgme_data_new_from_cbs (&plaintext, &gpg_stream_funcs, ostream)) !=
GPG_ERR_NO_ERROR) {
+ if ((error = gpgme_data_new_from_cbs (&plaintext, &pkcs7_stream_funcs, ostream)) !=
GPG_ERR_NO_ERROR) {
g_set_error (err, GMIME_GPGME_ERROR, error, _("Could not open output stream"));
if (signature)
gpgme_data_release (signature);
diff --git a/tests/test-pgp.c b/tests/test-pgp.c
index f5d9e2b..9367d24 100644
--- a/tests/test-pgp.c
+++ b/tests/test-pgp.c
@@ -98,7 +98,7 @@ test_verify (GMimeCryptoContext *ctx, GMimeStream *cleartext, GMimeStream *ciphe
Exception *ex;
signatures = g_mime_crypto_context_verify (ctx, 0, GMIME_DIGEST_ALGO_DEFAULT,
- cleartext, ciphertext, &err);
+ cleartext, ciphertext, NULL, &err);
if (signatures == NULL) {
ex = exception_new ("%s", err->message);
diff --git a/tests/test-pkcs7.c b/tests/test-pkcs7.c
index 34936a2..a6f5bdd 100644
--- a/tests/test-pkcs7.c
+++ b/tests/test-pkcs7.c
@@ -99,7 +99,7 @@ test_verify (GMimeCryptoContext *ctx, GMimeStream *cleartext, GMimeStream *ciphe
Exception *ex;
signatures = g_mime_crypto_context_verify (ctx, 0, GMIME_DIGEST_ALGO_DEFAULT,
- cleartext, ciphertext, &err);
+ cleartext, ciphertext, NULL, &err);
if (signatures == NULL) {
ex = exception_new ("%s", err->message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]