0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 16:22:35 +01:00

Fix a memory leak with client certificates.

This commit is contained in:
Jilles Tjoelker 2010-02-19 16:55:15 +01:00
parent dbcd150bce
commit b2d64e51f0

View file

@ -633,6 +633,7 @@ rb_get_ssl_certfp(rb_fde_t *F, uint8_t certfp[RB_SSL_CERTFP_LEN])
memcpy(certfp, cert->sha1_hash, RB_SSL_CERTFP_LEN);
return 1;
}
X509_free(cert);
}
return 0;