Commit c31b6e7
authored
misc fixes key.py
* 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.
* BN_bin2bn happy to take None as arg and do allocation.1 parent f04a1a3 commit c31b6e7
1 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