[Opendnssec-develop] proposed libhsm API

Jakob Schlyter jakob at kirei.se
Thu Apr 23 15:17:11 UTC 2009


On 23 apr 2009, at 16.56, John Dickinson wrote:

> Forgive my naivety but the only thing that needs to be threaded ever  
> is
>
> ldns_rr* hsm_sign_rrset(const ldns_rr_list* rrset, const hsm_key_t  
> *key);
>
> so how about
>
> ldns_rr* hsm_sign_rrset(const ldns_rr_list* rrset, const hsm_key_t  
> *key, int thread_id);
>
> when hsm_sign_rrset sees a new thread_id it opens a new session.

do you need to login in when you create the thread?

	jakob




More information about the Opendnssec-develop mailing list