aboutsummaryrefslogtreecommitdiffstats
path: root/gpgmeplug/gpgmeplug.c
diff options
context:
space:
mode:
authorMatthias Kalle Dalheimer <[email protected]>2002-03-01 17:54:26 +0000
committerMatthias Kalle Dalheimer <[email protected]>2002-03-01 17:54:26 +0000
commitcea9be523e9d0c3253a5f6d6d45afa5b3260cd8f (patch)
tree812de2a0854e3d650169e8e93b815bf8c2ed9776 /gpgmeplug/gpgmeplug.c
parentSupport for asking the for the PIN a certain number of times. (diff)
downloadgpgme-cea9be523e9d0c3253a5f6d6d45afa5b3260cd8f.tar.gz
gpgme-cea9be523e9d0c3253a5f6d6d45afa5b3260cd8f.zip
Support for warning when a CRL expires
Diffstat (limited to '')
-rw-r--r--gpgmeplug/gpgmeplug.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/gpgmeplug/gpgmeplug.c b/gpgmeplug/gpgmeplug.c
index fae689a4..0de5d491 100644
--- a/gpgmeplug/gpgmeplug.c
+++ b/gpgmeplug/gpgmeplug.c
@@ -681,6 +681,11 @@ bool receiverEmailAddressNotInCertificateWarning()
void setEncryptionUseCRLs( bool flag )
{
config.encryptionUseCRLs = flag;
+
+ /* PENDING(g10) Store this setting in gpgme and use it. If true,
+ every certificate used for encryption should be checked against
+ applicable CRLs.
+ */
}
bool encryptionUseCRLs()
@@ -688,6 +693,16 @@ bool encryptionUseCRLs()
return config.encryptionUseCRLs;
}
+
+int encryptionCRLsDaysLeftToExpiry()
+{
+ /* PENDING(g10)
+ Please return the number of days that are left until the
+ CRL used for encryption expires.
+ */
+ return 10; // dummy that triggers a warning in the MUA
+}
+
void setEncryptionCRLExpiryNearWarning( bool flag )
{
config.encryptionCRLExpiryNearWarning = flag;