Update of /cvsroot/mahogany/M/src/modules/crypt
In directory sc8-pr-cvs1:/tmp/cvs-serv4481/src/modules/crypt

Modified Files:
        PGPEngine.cpp 
Log Message:
added an option "Get GPG key from server"

Index: PGPEngine.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/crypt/PGPEngine.cpp,v
retrieving revision 1.24
retrieving revision 1.25
diff -b -u -2 -r1.24 -r1.25
--- PGPEngine.cpp       20 Jun 2003 16:17:22 -0000      1.24
+++ PGPEngine.cpp       16 Jul 2003 17:03:34 -0000      1.25
@@ -43,4 +43,5 @@
 extern const MOption MP_PGP_COMMAND;
 extern const MOption MP_PGP_KEYSERVER;
+extern const MOption MP_PGP_GET_PUBKEY;
 
 // ----------------------------------------------------------------------------
@@ -779,5 +780,5 @@
 {
    Status status = DoExecCommand(options, messageIn, messageOut, log);
-   if ( status == NONEXISTING_KEY_ERROR )
+   if ( status == NONEXISTING_KEY_ERROR && READ_APPCONFIG_BOOL(MP_PGP_GET_PUBKEY) ) 
//FIXME use Profile
    {
       // propose to the user to retrieve the key from a keyserver



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to