Skip to content

Commit

Permalink
Modify key.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ZBCccc committed Aug 8, 2024
1 parent a4370a9 commit 1e4e9c8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crypto/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ func (key *pKey) MarshalPKCS8PrivateKeyPEM() ([]byte, error) {
}

result := C.GoBytes(unsafe.Pointer(ptr), C.int(length))
runtime.KeepAlive(key)
return result, nil
}

Expand Down

0 comments on commit 1e4e9c8

Please sign in to comment.