cpack: Ignore obj directory.
pki: Fix memory leak with ecdsa signatures.