src/cryptotech.h
branchENGINE-84
changeset 1352 239640860531
parent 1103 aba4f9ea5bce
child 1357 b1677cd84729
     1.1 --- a/src/cryptotech.h	Fri Nov 04 12:48:06 2016 +0100
     1.2 +++ b/src/cryptotech.h	Sun Nov 06 22:55:37 2016 +0100
     1.3 @@ -72,6 +72,9 @@
     1.4  
     1.5  typedef PEP_STATUS (*binary_path_t)(const char **path);
     1.6  
     1.7 +typedef PEP_STATUS (*pair_has_private_t)(PEP_SESSION session, const char *fpr,
     1.8 +        bool *has_private);
     1.9 +
    1.10  typedef struct _PEP_cryptotech_t {
    1.11      uint8_t id;
    1.12      // the following are default values; comm_type may vary with key length or b0rken crypto
    1.13 @@ -94,6 +97,7 @@
    1.14      key_revoked_t key_revoked;
    1.15      key_created_t key_created;
    1.16      binary_path_t binary_path;
    1.17 +    pair_has_private_t pair_has_private;
    1.18  } PEP_cryptotech_t;
    1.19  
    1.20  extern PEP_cryptotech_t cryptotech[PEP_crypt__count];