Commit 7e191f0
committed
Merge #200: misc fixes key.py
c31b6e7 misc fixes key.py (Mark B Lundeberg)
Pull request description:
* BN_bin2bn happy to take null ptr as arg and do allocation.
* EC_POINT_mul hears you the first time, don't need to call twice.
* EC_KEY_set_private_key makes a copy of the key; without freeing it we have a memory leak.
Tree-SHA512: 6557c788c27933ee1dc3d6085f3c3f259ed0547811c1a3f7bd3679f8ee664772a53cca81a56e6dfac2eaecea613d006b1c5ccaedc7c7ccd121a15fcd41fb58fb1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
221 | 220 | | |
222 | 221 | | |
223 | 222 | | |
| 223 | + | |
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| |||
0 commit comments