mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-19 13:01:00 -07:00
define ssl_cert_free as object-scoped
This commit is contained in:
parent
5fef18514a
commit
2c48dd9e8f
1 changed files with 1 additions and 1 deletions
|
@ -896,7 +896,7 @@ SSL_CERT *ssl_cert_read(uint8 * data, uint32 len) {
|
||||||
return d2i_X509(NULL, (D2I_X509_CONST unsigned char **) &data, len);
|
return d2i_X509(NULL, (D2I_X509_CONST unsigned char **) &data, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ssl_cert_free(SSL_CERT * cert) {
|
static void ssl_cert_free(SSL_CERT * cert) {
|
||||||
X509_free(cert);
|
X509_free(cert);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue