Fix segfault on PKey.check() when there is no private key
1 file changed