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

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