full diff: https://github.com/miekg/pkcs11/compare/6120d95c0e9576ccf4a78ba40855809dca31a9ed...v1.0.2 relevant changes: - miekg/pkcs11#110 Fix issue freeing memory on GetOperationState when NOT CK_OK - miekg/pkcs11#106 Move to go modules - miekg/pkcs11#104 Expose login API for vendor specific login types Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
18 lines
302 B
Go
18 lines
302 B
Go
// +build release
|
|
|
|
package pkcs11
|
|
|
|
import "fmt"
|
|
|
|
// Release is current version of the pkcs11 library.
|
|
var Release = R{1, 0, 2}
|
|
|
|
// R holds the version of this library.
|
|
type R struct {
|
|
Major, Minor, Patch int
|
|
}
|
|
|
|
func (r R) String() string {
|
|
return fmt.Sprintf("%d.%d.%d", r.Major, r.Minor, r.Patch)
|
|
}
|