diff options
author | Tomas Kukosa <tomas.kukosa@siemens.com> | 2008-01-03 13:20:10 +0000 |
---|---|---|
committer | Tomas Kukosa <tomas.kukosa@siemens.com> | 2008-01-03 13:20:10 +0000 |
commit | 3523d6c825f4ae33296fe0c97356d7de49992322 (patch) | |
tree | c34106c36aab7ca6e3c190b8089993279ce6bac1 /asn1/pkcs12 | |
parent | e6e926d5f1452bea8d39aab872e16ea809574a9e (diff) |
get rid of get_ber_last_created_item()
svn path=/trunk/; revision=24002
Diffstat (limited to 'asn1/pkcs12')
-rw-r--r-- | asn1/pkcs12/pkcs12.cnf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/asn1/pkcs12/pkcs12.cnf b/asn1/pkcs12/pkcs12.cnf index 843fdaf6e3..1d7f470fdb 100644 --- a/asn1/pkcs12/pkcs12.cnf +++ b/asn1/pkcs12/pkcs12.cnf @@ -140,17 +140,17 @@ PrivateKeyInfo #.FN_HDR EncryptedData tvbuff_t *encrypted_tvb; dissector_handle_t dissector_handle; - proto_item *item; + #.END #.FN_FTR EncryptedData - item = get_ber_last_created_item(); + dissector_handle=create_dissector_handle(dissect_PrivateKeyInfo_PDU, proto_pkcs12); dissector_change_string("ber.oid", (gchar*) object_identifier_id, dissector_handle); - PBE_decrypt_data(object_identifier_id, encrypted_tvb, actx, item); + PBE_decrypt_data(object_identifier_id, encrypted_tvb, actx, actx->created_item); /* restore the original dissector */ dissector_reset_string("ber.oid", object_identifier_id); |