OpenSC/libp11 — pull request #10 by yusukemihara (2014-07-28 01:57:35+00:00)
Title: fix PKCS11_store_certificate() return -1 when called just after PKCS_CTX...

..._load().

in pkcs11_init_cert() (p11_cert.c:156), tpriv->certs = -1 when just after PKCS_CTX_load(),so OPENSSL_realloc(alloc_size = 0) return null.It caused early return.