We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6721ae3 commit 42e0e4cCopy full SHA for 42e0e4c
crypto/openssl_mbedtls_wrapper/mbedtls/x509.c
@@ -33,6 +33,11 @@
33
34
void X509_free(X509 *a)
35
{
36
+ SSL_ASSERT3(a);
37
+
38
+ X509_METHOD_CALL(free, a);
39
40
+ ssl_mem_free(a);
41
}
42
43
void X509_EXTENSION_free(X509_EXTENSION *a)
@@ -76,7 +81,7 @@ X509_EXTENSION *X509_EXTENSION_create_by_NID(X509_EXTENSION **ex,
76
81
77
82
X509 *X509_new(void)
78
83
79
- return NULL;
84
+ return __X509_new(NULL);
80
85
86
87
int X509_set_version(X509 *x509, long version)
0 commit comments