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