diff options
Diffstat (limited to 'pith/smkeys.h')
-rw-r--r-- | pith/smkeys.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pith/smkeys.h b/pith/smkeys.h index 818f46ac..58705bd7 100644 --- a/pith/smkeys.h +++ b/pith/smkeys.h @@ -52,15 +52,13 @@ X509 *get_cert_for(char *email, WhichCerts ctype); void save_cert_for(char *email, X509 *cert, WhichCerts ctype); char **get_x509_subject_email(X509 *x); EVP_PKEY *load_key(PERSONAL_CERT *pc, char *pass); -CertList *mem_to_certlist(char *contents); +CertList *mem_to_certlist(char *contents, WhichCerts ctype); void add_to_end_of_certlist(CertList **cl, char *name, X509 *cert); void free_certlist(CertList **cl); PERSONAL_CERT *mem_to_personal_certs(char *contents); void free_personal_certs(PERSONAL_CERT **pc); void get_fingerprint(X509 *cert, const EVP_MD *type, char *buf, size_t maxLen); -void mark_cert_deleted(WhichCerts ctype, char *email, unsigned state); -unsigned get_cert_deleted(WhichCerts ctype, char *email); -int smime_expunge_cert(WhichCerts ctype); +int certlist_to_file(char *filename, CertList *certlist); #endif /* PITH_SMKEYS_INCLUDED */ #endif /* SMIME */ |