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

List:       kde-commits
Subject:    kdepim/certmanager/lib/backends/qgpgme
From:       Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date:       2004-07-28 16:44:15
Message-ID: 20040728164415.DBA1B9A41 () office ! kde ! org
[Download RAW message or body]

CVS commit by mutz: 

Work around a gpgme bug.


  M +5 -1      qgpgmejob.cpp   1.6


--- kdepim/certmanager/lib/backends/qgpgme/qgpgmejob.cpp  #1.5:1.6
@@ -70,4 +70,8 @@ Kleo::QGpgMEJob::QGpgMEJob( Kleo::Job * 
                     _this, SLOT(slotCancel()) );
   context->setProgressProvider( this );
+  // (mmutz) work around a gpgme bug in versions at least <= 0.9.0.
+  //         These versions will return GPG_ERR_NOT_IMPLEMENTED from
+  //         a CMS sign operation when a passphrase callback is set.
+  if ( context->protocol() == GpgME::Context::OpenPGP )
   context->setPassphraseProvider( this );
 }


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

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