mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
openssl_mbedtls_wrapper: support X509_new()
Signed-off-by: makejian <makejian@xiaomi.com>
This commit is contained in:
parent
6721ae3555
commit
42e0e4c6b2
1 changed files with 6 additions and 1 deletions
|
|
@ -33,6 +33,11 @@
|
|||
|
||||
void X509_free(X509 *a)
|
||||
{
|
||||
SSL_ASSERT3(a);
|
||||
|
||||
X509_METHOD_CALL(free, a);
|
||||
|
||||
ssl_mem_free(a);
|
||||
}
|
||||
|
||||
void X509_EXTENSION_free(X509_EXTENSION *a)
|
||||
|
|
@ -76,7 +81,7 @@ X509_EXTENSION *X509_EXTENSION_create_by_NID(X509_EXTENSION **ex,
|
|||
|
||||
X509 *X509_new(void)
|
||||
{
|
||||
return NULL;
|
||||
return __X509_new(NULL);
|
||||
}
|
||||
|
||||
int X509_set_version(X509 *x509, long version)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue