Fix to i2d_DSAPublicKey() to return the correct length.

Submitted by: Jeon KyoungHo <khjeon@sds.samsung.co.kr>
This commit is contained in:
Dr. Stephen Henson 1999-06-11 22:30:45 +00:00
parent a9ffce0a25
commit 9bce3070ac
2 changed files with 6 additions and 1 deletions

View file

@ -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]

View file

@ -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