Closed timothymctim closed 5 years ago
Fixes two memory leaks:
x = BN_bin2bn((const uint8_t *) input, input_len, NULL);
BN_bin2bn((const uint8_t *) input, input_len, x);
hashObj = createNewPoint(G, gobj);
ECElement
P
Also changed: conditionally compile debug statements.
Fixes two memory leaks:
x = BN_bin2bn((const uint8_t *) input, input_len, NULL);
->BN_bin2bn((const uint8_t *) input, input_len, x);
hashObj = createNewPoint(G, gobj);
already created a newECElement
P
Also changed: conditionally compile debug statements.