• Nick Mathewson's avatar
    In relay_digest_matches(), use stack instead of heap. · 91c63aae
    Nick Mathewson authored
    We'd been using crypto_digest_dup() and crypto_digest_assign() here,
    but they aren't necessary.  Instead we can just use the stack to
    store the previous state of the SHA_CTX and avoid a malloc/free pair.
    
    Closes ticket 24914.
    91c63aae