mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-09-24 22:33:45 +08:00
Update Go API to version 1.2
Add Certificate Object, support parse, check and access (very limited) attributes of an X.509 certificate in PEM format.
This commit is contained in:
@@ -7,8 +7,8 @@ package gmssl
|
||||
import "C"
|
||||
|
||||
func GetVersions() []string {
|
||||
versions := []string{
|
||||
"GmSSL Go API 1.1 Mar 31 2018",
|
||||
versions := []string {
|
||||
"GmSSL Go API 1.2 July 15 2018",
|
||||
C.GoString(C.OpenSSL_version(C.OPENSSL_VERSION)),
|
||||
C.GoString(C.OpenSSL_version(C.OPENSSL_BUILT_ON)),
|
||||
C.GoString(C.OpenSSL_version(C.OPENSSL_CFLAGS)),
|
||||
|
||||
Reference in New Issue
Block a user