Commit 9bce3070 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Fix to i2d_DSAPublicKey() to return the correct length.

Submitted by: Jeon KyoungHo <khjeon@sds.samsung.co.kr>
parent a9ffce0a
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -4,6 +4,10 @@


 Changes between 0.9.3a and 0.9.4
 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.
  *) Add initial documentation of the X509V3 functions.
     [Steve Henson]
     [Steve Henson]


+2 −1
Original line number Original line Diff line number Diff line
@@ -123,6 +123,7 @@ int i2d_DSAPublicKey(DSA *a, unsigned char **pp)
		}
		}
	Free((char *)bs.data);
	Free((char *)bs.data);
	*pp=p;
	*pp=p;
	return(t);
	if(all) return(t);
	else return(tot);
	}
	}
#endif
#endif