fix the virtual functions to match the prototype again
authorKlaus Kaempf <kkaempf@suse.de>
Wed, 8 Nov 2006 15:19:22 +0000 (15:19 +0000)
committerKlaus Kaempf <kkaempf@suse.de>
Wed, 8 Nov 2006 15:19:22 +0000 (15:19 +0000)
(we should make colorgcc and a black&white compilation a requirement :-( )

testsuite/source/KeyRingCallbacks.h

index 4a1cc8a..ccfd2b5 100644 (file)
@@ -35,19 +35,19 @@ namespace zypp {
          XXX << "(" << file << ")" << std::endl;
          return true;
        }
-       virtual bool askUserToAcceptUnknownKey( const std::string &file, const std::string &keyid, const std::string &keyname, const std::string &fingerprint )
+       virtual bool askUserToAcceptUnknownKey( const std::string &file, const std::string &keyid )
        {
-         XXX << "(" << file << ", " << keyid << ", " << keyname << ", " << fingerprint << ")" << std::endl;
+         XXX << "(" << file << ", " << keyid << ")" << std::endl;
          return true;
        }
-       virtual bool askUserToTrustKey( const std::string &keyid, const std::string &keyname, const std::string &fingerprint )
+       virtual bool askUserToTrustKey( const PublicKey &key )
        {
-         XXX << "(" << keyid << ", " << keyname <<  ", " << fingerprint << ")" << std::endl;
+         XXX << "(" << key << ")" << std::endl;
          return true;
        }
-       virtual bool askUserToAcceptVerificationFailed( const std::string &file, const std::string &keyid, const std::string &keyname, const std::string &fingerprint )
+       virtual bool askUserToAcceptVerificationFailed( const std::string &file, const PublicKey &key )
        {
-         XXX << "(" << file << ", " << keyid << ", " << keyname << ", " << fingerprint << ")" << std::endl;
+         XXX << "(" << file << ", " << key << ")" << std::endl;
          return true;
        }
     };