13 lines
243 B
Go
13 lines
243 B
Go
// args: -Egas
|
|
package testdata
|
|
|
|
import (
|
|
"crypto/md5" // ERROR "G501: Blacklisted import `crypto/md5`: weak cryptographic primitive"
|
|
"log"
|
|
)
|
|
|
|
func Gas() {
|
|
h := md5.New() // ERROR "G401: Use of weak cryptographic primitive"
|
|
log.Print(h)
|
|
}
|