mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -05:00
Remove unused function monty_copy.
I wrote it for the sake of a test-system design I had in mind at the time, but that design changed after I committed, and now I think _even_ my upcoming test application won't need to copy MontyContexts. So I'll remove the function now, so as not to have to pointlessly write tests for it :-)
This commit is contained in:
1
mpint.h
1
mpint.h
@ -313,7 +313,6 @@ mp_int *mp_modsqrt(ModsqrtContext *sc, mp_int *x, unsigned *success);
|
||||
* pointers are still owned by the MontyContext, so don't free them!
|
||||
*/
|
||||
MontyContext *monty_new(mp_int *modulus);
|
||||
MontyContext *monty_copy(MontyContext *mc);
|
||||
void monty_free(MontyContext *mc);
|
||||
mp_int *monty_modulus(MontyContext *mc); /* doesn't transfer ownership */
|
||||
mp_int *monty_identity(MontyContext *mc); /* doesn't transfer ownership */
|
||||
|
Reference in New Issue
Block a user