mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-09-24 06:13:43 +08:00
update go-api
GetDigestNames() and GetCipherNames get supported algorithms with callbacks.
This commit is contained in:
@@ -14,11 +14,11 @@ package gmssl
|
||||
#include <openssl/objects.h>
|
||||
#include <openssl/opensslconf.h>
|
||||
|
||||
void _OPENSSL_free(void *p) {
|
||||
static void _OPENSSL_free(void *p) {
|
||||
OPENSSL_free(p);
|
||||
}
|
||||
|
||||
long _BIO_get_mem_data(BIO *b, char **pp) {
|
||||
static long _BIO_get_mem_data(BIO *b, char **pp) {
|
||||
return BIO_get_mem_data(b, pp);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user