sm9: remove duplicated code

This commit is contained in:
Sun Yimin 2022-11-25 10:27:21 +08:00 committed by GitHub
parent d7e853277a
commit 63668bb045
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -473,9 +473,6 @@ func DecryptASN1(priv *EncryptPrivateKey, uid, ciphertext []byte) ([]byte, error
if err != nil {
return nil, err
}
if err != nil {
return nil, err
}
hash := sm3.New()
hash.Write(c2Bytes)