turn around the order when free'ing an rsa_key struct
This commit is contained in:
		
							parent
							
								
									ec327b3d86
								
							
						
					
					
						commit
						856d542a1c
					
				| @ -24,7 +24,7 @@ | |||||||
| void rsa_free(rsa_key *key) | void rsa_free(rsa_key *key) | ||||||
| { | { | ||||||
|    LTC_ARGCHKVD(key != NULL); |    LTC_ARGCHKVD(key != NULL); | ||||||
|    mp_clear_multi(key->e, key->d, key->N, key->dQ, key->dP, key->qP, key->p, key->q, NULL); |    mp_clear_multi(key->q, key->p, key->qP, key->dP, key->dQ, key->N, key->d, key->e, NULL); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| #endif | #endif | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user