Fix to i2d_DSAPublicKey() to return the correct length.
Submitted by: Jeon KyoungHo <khjeon@sds.samsung.co.kr>
This commit is contained in:
parent
a9ffce0a25
commit
9bce3070ac
2 changed files with 6 additions and 1 deletions
4
CHANGES
4
CHANGES
|
@ -4,6 +4,10 @@
|
|||
|
||||
Changes between 0.9.3a and 0.9.4
|
||||
|
||||
*) Fix a bug in i2d_DSAPublicKey() which meant it returned the wrong value
|
||||
for the encoded length.
|
||||
[Jeon KyoungHo <khjeon@sds.samsung.co.kr>]
|
||||
|
||||
*) Add initial documentation of the X509V3 functions.
|
||||
[Steve Henson]
|
||||
|
||||
|
|
|
@ -123,6 +123,7 @@ int i2d_DSAPublicKey(DSA *a, unsigned char **pp)
|
|||
}
|
||||
Free((char *)bs.data);
|
||||
*pp=p;
|
||||
return(t);
|
||||
if(all) return(t);
|
||||
else return(tot);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue