diff options
author | Stef Walter <stef@thewalter.net> | 2013-07-08 16:56:40 +0200 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2013-07-08 17:00:19 +0200 |
commit | 2c4f5ed657976d868c33f0ddf430477ee2bf0191 (patch) | |
tree | 2a278879f974691ae31be0853bb9313fb5d36a7f /trust/token.c | |
parent | 03787ae83b1911118a7a689c4817bbce1e74dabd (diff) | |
download | p11-kit-2c4f5ed657976d868c33f0ddf430477ee2bf0191.tar.gz |
trust: Explicitly specify which formats parser should parse
Diffstat (limited to 'trust/token.c')
-rw-r--r-- | trust/token.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/trust/token.c b/trust/token.c index e9bcf44..77ff739 100644 --- a/trust/token.c +++ b/trust/token.c @@ -637,6 +637,8 @@ p11_token_new (CK_SLOT_ID slot, token->parser = p11_parser_new (p11_builder_get_cache (token->builder)); return_val_if_fail (token->parser != NULL, NULL); + p11_parser_formats (token->parser, p11_parser_format_pem, + p11_parser_format_x509, p11_parser_format_persist, NULL); token->loaded = p11_dict_new (p11_dict_str_hash, p11_dict_str_equal, free, free); return_val_if_fail (token->loaded != NULL, NULL); |