(left string, right string)
| 551 | } |
| 552 | |
| 553 | func subtleCompare(left string, right string) bool { |
| 554 | if len(left) == 0 || len(right) == 0 { |
| 555 | return false |
| 556 | } |
| 557 | return subtle.ConstantTimeCompare([]byte(left), []byte(right)) == 1 |
| 558 | } |
no outgoing calls
no test coverage detected