[PATCH v2 2/4] ncrypt: Check null handle when setting or getting properties.