diff options
-rw-r--r-- | src/regress/lib/libcrypto/wycheproof/wycheproof.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/wycheproof/wycheproof.go b/src/regress/lib/libcrypto/wycheproof/wycheproof.go index 1887a1b73c..7ec02a8f32 100644 --- a/src/regress/lib/libcrypto/wycheproof/wycheproof.go +++ b/src/regress/lib/libcrypto/wycheproof/wycheproof.go | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: wycheproof.go,v 1.78 2018/10/06 11:05:00 tb Exp $ */ | 1 | /* $OpenBSD: wycheproof.go,v 1.79 2018/10/06 14:23:08 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2018 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2018 Joel Sing <jsing@openbsd.org> |
4 | * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> | 4 | * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> |
@@ -1207,6 +1207,7 @@ func runDSATestGroup(algorithm string, wtg *wycheproofTestGroupDSA) bool { | |||
1207 | if bio == nil { | 1207 | if bio == nil { |
1208 | log.Fatal("BIO_new_mem_buf failed") | 1208 | log.Fatal("BIO_new_mem_buf failed") |
1209 | } | 1209 | } |
1210 | defer C.free(unsafe.Pointer(keyPEM)) | ||
1210 | defer C.BIO_free(bio) | 1211 | defer C.BIO_free(bio) |
1211 | 1212 | ||
1212 | dsaPEM := C.PEM_read_bio_DSA_PUBKEY(bio, nil, nil, nil) | 1213 | dsaPEM := C.PEM_read_bio_DSA_PUBKEY(bio, nil, nil, nil) |