Update certverify

This commit is contained in:
Zhi Guan
2026-06-20 20:29:40 +08:00
parent c356236714
commit 1577bc7934
4 changed files with 179 additions and 219 deletions

View File

@@ -18,7 +18,7 @@ extern "C" {
#define GMSSL_VERSION_NUM 30200
#define GMSSL_VERSION_STR "GmSSL 3.2.0-dev.1122"
#define GMSSL_VERSION_STR "GmSSL 3.2.0-dev.1123"
int gmssl_version_num(void);
const char *gmssl_version_str(void);

View File

@@ -142,6 +142,8 @@ typedef enum {
int x509_general_name_to_der(int choice, const uint8_t *d, size_t dlen, uint8_t **out, size_t *outlen);
int x509_general_name_from_der(int *choice, const uint8_t **d, size_t *dlen, const uint8_t **in, size_t *inlen);
int x509_general_name_normalized_equ(int a_choice, const uint8_t *a, size_t alen,
int b_choice, const uint8_t *b, size_t blen);
int x509_general_names_get_first(const uint8_t *gns, size_t gns_len, const uint8_t **ptr, int choice, const uint8_t **d, size_t *dlen);
int x509_general_names_get_next(const uint8_t *gns, size_t gns_len, const uint8_t **ptr, int choice, const uint8_t **d, size_t *dlen);
int x509_general_name_print(FILE *fp, int fmt, int ind, const char *label, int choice, const uint8_t *d, size_t dlen);