mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-06-27 15:43:42 +08:00
Clean code
This commit is contained in:
@@ -18,7 +18,7 @@ extern "C" {
|
||||
|
||||
|
||||
#define GMSSL_VERSION_NUM 30200
|
||||
#define GMSSL_VERSION_STR "GmSSL 3.2.0-dev.1100"
|
||||
#define GMSSL_VERSION_STR "GmSSL 3.2.0-dev.1101"
|
||||
|
||||
int gmssl_version_num(void);
|
||||
const char *gmssl_version_str(void);
|
||||
|
||||
@@ -331,7 +331,7 @@ typedef enum {
|
||||
X509_cert_crl_sign,
|
||||
} X509_CERT_TYPE;
|
||||
|
||||
int x509_cert_check(const uint8_t *cert, size_t certlen, int cert_type, int *path_len_constraint);
|
||||
int x509_cert_check(const uint8_t *cert, size_t certlen, int cert_type);
|
||||
int x509_cert_check_subject(const uint8_t *cert, size_t certlen, int is_cacert);
|
||||
int x509_cert_check_name_constraints(const uint8_t *cert, size_t certlen,
|
||||
const uint8_t *name_constraints, size_t name_constraints_len);
|
||||
|
||||
@@ -606,8 +606,7 @@ NetscapeCertComment ::= IA5String
|
||||
int x509_netscape_cert_type_print(FILE *fp, int fmt, int ind, const char *label, int bits);
|
||||
|
||||
int x509_ext_check_critical(int oid, int is_ca, int critical);
|
||||
int x509_exts_check(const uint8_t *exts, size_t extslen, int cert_type,
|
||||
int *path_len_constraints);
|
||||
int x509_exts_check(const uint8_t *exts, size_t extslen, int cert_type);
|
||||
|
||||
/*
|
||||
AuthorityInfoAccessSyntax ::= SEQUENCE OF AccessDescription
|
||||
|
||||
Reference in New Issue
Block a user