Commit 9330a85e authored by Kaspar Brand's avatar Kaspar Brand Committed by Dr. Stephen Henson
Browse files

Fix SSL_CTX_get{first,next}_certificate.

Fix typo that stopped SSL_CTX_get_{first,next}_certificate from working.
parent 0dd5b94a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -670,7 +670,7 @@ int ssl_cert_set_current(CERT *c, long op)
		return 0;
	for (i = idx; i < SSL_PKEY_NUM; i++)
		{
		CERT_PKEY *cpk = c->key + i;
		CERT_PKEY *cpk = c->pkeys + i;
		if (cpk->x509 && cpk->privatekey)
			{
			c->key = cpk;