OPENDNSSEC-537: libhsm: Possible memory corruption in hsm_get_slot_id.
Merge pull request #7 from bellgrim/OPENDNSSEC-537

OPENDNSSEC-537: libhsm: Possible memory corruption in hsm_get_slot_id.