mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-17 22:06:26 +08:00
21 lines
310 B
C
21 lines
310 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <openssl/pem.h>
|
|
#include <openssl/conf.h>
|
|
|
|
int main()
|
|
{
|
|
BIO *bio_err;
|
|
void *ptr;
|
|
|
|
CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON);
|
|
bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);
|
|
|
|
ptr = OPENSSL_malloc(1024);
|
|
|
|
CRYPTO_mem_leaks(bio_err);
|
|
BIO_free(bio_err);
|
|
|
|
return (0);
|
|
}
|