[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdepim/libkdenetwork/gpgmepp
From:       Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date:       2004-10-14 9:56:05
Message-ID: 20041014095605.4B95616CB9 () office ! kde ! org
[Download RAW message or body]

CVS commit by mutz: 

From KDE_3_3_BRANCH: Add DecryptionResult::wrongKeyUsage(), up the version


  M +6 -1      Makefile.am   1.8
  M +8 -0      decryptionresult.cpp   1.5
  M +2 -0      decryptionresult.h   1.4


--- kdepim/libkdenetwork/gpgmepp/Makefile.am  #1.7:1.8
@@ -41,5 +41,10 @@
                         engineinfo.cpp
 
-libgpgme___la_LDFLAGS = -no-undefined -version-info 0:0:0
+# --version-info CURRENT:REVISION:AGE
+#   (Code changed:                      REVISION++)
+#   (Interfaces added/removed/changed:  CURRENT++, REVISION=0)
+#   (Interfaces added:                  AGE++)
+#   (Interfaces removed/changed:        AGE=0)
+libgpgme___la_LDFLAGS = -no-undefined -version-info 1:0:1
 libgpgme___la_LIBADD = $(GPGME_LIBS)
 libgpgme___la_DEPENDENCIES = $(GPGME_LIBS_DEP)

--- kdepim/libkdenetwork/gpgmepp/decryptionresult.cpp  #1.4:1.5
@@ -64,2 +64,10 @@ const char * GpgME::DecryptionResult::un
   return d ? d->res.unsupported_algorithm : 0 ;
 }
+
+bool GpgME::DecryptionResult::wrongKeyUsage() const {
+#ifdef HAVE_GPGME_WRONG_KEY_USAGE
+  if ( d )
+    return d->res.wrong_key_usage;
+#endif
+  return false;
+}

--- kdepim/libkdenetwork/gpgmepp/decryptionresult.h  #1.3:1.4
@@ -42,4 +42,6 @@ namespace GpgME {
     const char * unsupportedAlgortihm() const;
 
+    bool wrongKeyUsage() const;
+
   private:
     class Private;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic