[hipl-dev] Re: [Branch ~hipl-core/hipl/ecc] Rev 5274: Refactored key loader functions and function parse_hit() in rule_management.c, which alone calls ...

  • From: Stefan Götz <stefan.goetz@xxxxxxxxxxxxxxxxx>
  • To: hipl-dev@xxxxxxxxxxxxx
  • Date: Sun, 09 Jan 2011 16:51:03 +0100

> message:
>   Refactored key loader functions and function parse_hit() in 
> rule_management.c, which alone calls these functions.
>   
>   Changes
>    - Caller of key loader function gets control over memory management.
>    - RSA_new, DSA_new and EC_KEY_new are not necessary because 
> PEM_read_xxx_PUBKEY handles this.
>    - Do not allocate memory for calls to xxx_to_dns_key_rr(..) because these 
> functions handle the memory allocation themselves.
>      In fact this should be refactored, too.
>    - Improved error handling for key loader functions.
>    - Improved debugging output of parse_hit().
>    - Updated documentation.

awesome - seriously :)

Stefan

Other related posts: