Refine the memwipe() arguments check for 18089 a little more.
commite2efa9e321972709933b6b9a68da035e1a91aa08
authorNick Mathewson <nickm@torproject.org>
Tue, 19 Jan 2016 13:28:58 +0000 (19 08:28 -0500)
committerNick Mathewson <nickm@torproject.org>
Tue, 19 Jan 2016 13:28:58 +0000 (19 08:28 -0500)
tree5ca380774847927eff64d297657f1352306412eb
parentdb8156533133836b19bca51f7fabba4d161b6ba2
Refine the memwipe() arguments check for 18089 a little more.

We still silently ignore
     memwipe(NULL, ch, 0);
and
     memwipe(ptr, ch, 0);  /* for ptr != NULL */

But we now assert on:
     memwipe(NULL, ch, 30);
src/common/crypto.c