Skip to content

Commit 310f05e

Browse files
committed
update code
1 parent c70aed8 commit 310f05e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/peersafe/gmencrypt/softencrypt/impl/GmSoftEncrypt.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ size_t SoftEncrypt::EC_KEY_key2buf(const EC_KEY *key, unsigned char **pbuf)
6969
}
7070
*pbuf = buf;
7171
return len;
72-
return 0;
7372
}
7473

7574
// std::pair<unsigned char*, int> SoftEncrypt::getPrivateKey(EC_KEY *sm2Keypair, std::vector<unsigned char>& priKey)

0 commit comments

Comments
 (0)