Skip to content

mv broken #28

@ghost

Description

using this file:

package widevine

import (
   "crypto"
   "crypto/rsa"
   "strings"
)

func Signed_Request() {
   rsa.SignPSS(
      strings.NewReader("hello world"), nil, crypto.SHA1, nil, nil,
   )
}

I get this result:

> rf 'mv Signed_Request _Signed_Request'
rf: widevine.go:11:46: cannot use crypto.SHA1 (constant 3 of type crypto.Hash)
as crypto.Hash value in argument to rsa.SignPSS
errors found before executing script

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions