Ver código fonte

missing rsa_free in _rsa_issue_301 test

Karel Miko 8 anos atrás
pai
commit
67f9064b71
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      tests/rsa_test.c

+ 1 - 0
tests/rsa_test.c

@@ -339,6 +339,7 @@ static int _rsa_issue_301(int prng_idx)
    DO(_rsa_key_cmp(PK_PUBLIC, &key, &key_in));
    rsa_free(&key_in);
 
+   rsa_free(&key);
    return 0;
 }