mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-08-08 23:13:38 +08:00
Merge pull request #734 from needkane/PR
go/gmssl: fix golang import path
This commit is contained in:
@@ -58,6 +58,7 @@ package gmssl
|
|||||||
#include <openssl/bio.h>
|
#include <openssl/bio.h>
|
||||||
#include <openssl/evp.h>
|
#include <openssl/evp.h>
|
||||||
#include <openssl/pem.h>
|
#include <openssl/pem.h>
|
||||||
|
#include <openssl/x509.h>
|
||||||
#include <openssl/engine.h>
|
#include <openssl/engine.h>
|
||||||
#include <openssl/objects.h>
|
#include <openssl/objects.h>
|
||||||
#include <openssl/opensslconf.h>
|
#include <openssl/opensslconf.h>
|
||||||
@@ -69,8 +70,8 @@ import "C"
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"unsafe"
|
|
||||||
"runtime"
|
"runtime"
|
||||||
|
"unsafe"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Certificate struct {
|
type Certificate struct {
|
||||||
|
|||||||
@@ -49,8 +49,9 @@
|
|||||||
package sm3
|
package sm3
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"gmssl"
|
|
||||||
"hash"
|
"hash"
|
||||||
|
|
||||||
|
"github.com/guanzhi/GmSSL/go/gmssl"
|
||||||
)
|
)
|
||||||
|
|
||||||
type digest struct {
|
type digest struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user