summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
10e09fb)
while we come up with a better solution.
git-svn-id: svn://svn.tartarus.org/sgt/putty@5146
cda61777-01e9-0310-a592-
d414129be87e
SHA_Simple(data, datalen, hash);
nbytes = (bignum_bitcount(rsa->modulus) - 1) / 8;
SHA_Simple(data, datalen, hash);
nbytes = (bignum_bitcount(rsa->modulus) - 1) / 8;
+ assert(1 <= nbytes - 20 - ASN1_LEN);
bytes = snewn(nbytes, unsigned char);
bytes[0] = 1;
bytes = snewn(nbytes, unsigned char);
bytes[0] = 1;