os-pkg: check if cert can be decoded as pem
Created by: RiSKeD
Encountered a null pointer reference when passing non pem-encoded certificates via the descriptor file of ospkg. Added checks to catch these cases.
Edited by Jens Drenhaus
Created by: RiSKeD
Encountered a null pointer reference when passing non pem-encoded certificates via the descriptor file of ospkg. Added checks to catch these cases.