[git] GPGME - branch, master, updated. gpgme-1.11.1-273-gdd7d37c

by Thomas Oberndörfer cvs at cvs.gnupg.org
Mon Sep 10 13:13:49 CEST 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG Made Easy".

The branch, master has been updated
       via  dd7d37ca21684d4d77db4f513c6212776fc6ea82 (commit)
      from  2375959180aa8eb0d23cc3f8240c3f5b5262b819 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit dd7d37ca21684d4d77db4f513c6212776fc6ea82
Author: Thomas Oberndörfer <thomas at mailvelope.com>
Date:   Mon Sep 10 13:11:48 2018 +0200

    js: Fix errorDetails of GPGME_Signature
    
    * lang/js/src/Signature.js (GPGME_Signature.errorDetails):
    Access properties from the summary object.

diff --git a/lang/js/src/Signature.js b/lang/js/src/Signature.js
index 7f24f32..f848e32 100644
--- a/lang/js/src/Signature.js
+++ b/lang/js/src/Signature.js
@@ -142,8 +142,8 @@ class GPGME_Signature {
             'sys-error'];
         let result = {};
         for (let i=0; i< properties.length; i++){
-            if ( this._rawSigObject.hasOwnProperty(properties[i]) ){
-                result[properties[i]] = this._rawSigObject[properties[i]];
+            if ( this._rawSigObject.summary.hasOwnProperty(properties[i]) ){
+                result[properties[i]] = this._rawSigObject.summary[properties[i]];
             }
         }
         return result;

-----------------------------------------------------------------------

Summary of changes:
 lang/js/src/Signature.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GnuPG Made Easy
http://git.gnupg.org




More information about the Gnupg-commits mailing list