PEP_CANNOT_SET_TRUST added
authorVolker Birk <vb@pep-project.org>
Sat, 10 Oct 2015 17:17:57 +0200
changeset 370e64de95cd36c
parent 369 906f46ffd840
child 371 2b34176e3fd7
PEP_CANNOT_SET_TRUST added
src/keymanagement.c
src/pEpEngine.h
     1.1 --- a/src/keymanagement.c	Tue Oct 06 15:01:34 2015 +0200
     1.2 +++ b/src/keymanagement.c	Sat Oct 10 17:17:57 2015 +0200
     1.3 @@ -366,7 +366,7 @@
     1.4      }
     1.5      else {
     1.6          // MISSING: S/MIME has to be handled depending on trusted CAs
     1.7 -        status = PEP_ILLEGAL_VALUE;
     1.8 +        status = PEP_CANNOT_SET_TRUST;
     1.9      }
    1.10  
    1.11      return status;
     2.1 --- a/src/pEpEngine.h	Tue Oct 06 15:01:34 2015 +0200
     2.2 +++ b/src/pEpEngine.h	Sat Oct 10 17:17:57 2015 +0200
     2.3 @@ -44,6 +44,7 @@
     2.4  	PEP_CANNOT_SET_PERSON							= 0x0381,
     2.5  	PEP_CANNOT_SET_PGP_KEYPAIR						= 0x0382,
     2.6  	PEP_CANNOT_SET_IDENTITY							= 0x0383,
     2.7 +    PEP_CANNOT_SET_TRUST                            = 0x0384,
     2.8  	
     2.9  	PEP_UNENCRYPTED									= 0x0400,
    2.10  	PEP_VERIFIED									= 0x0401,