forked from wolfSSL/wolfssl
fix shadow decl in DsaKeyToDer()
This commit is contained in:
@ -1481,8 +1481,6 @@ int wc_DsaKeyToDer(DsaKey* key, byte* output, word32 inLen)
|
|||||||
sizes[i] = SetLength(rawLen, tmps[i] + 1) + 1 + lbit; /* tag & lbit */
|
sizes[i] = SetLength(rawLen, tmps[i] + 1) + 1 + lbit; /* tag & lbit */
|
||||||
|
|
||||||
if (sizes[i] <= MAX_SEQ_SZ) {
|
if (sizes[i] <= MAX_SEQ_SZ) {
|
||||||
int err;
|
|
||||||
|
|
||||||
/* leading zero */
|
/* leading zero */
|
||||||
if (lbit)
|
if (lbit)
|
||||||
tmps[i][sizes[i]-1] = 0x00;
|
tmps[i][sizes[i]-1] = 0x00;
|
||||||
|
Reference in New Issue
Block a user