Commit dbf71ae4 authored by Bernd Edlinger's avatar Bernd Edlinger
Browse files

Clear the secret point in ecdh_compute_key

parent 6555a894
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -207,7 +207,7 @@ static int ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key,

 err:
    if (tmp)
        EC_POINT_free(tmp);
        EC_POINT_clear_free(tmp);
    if (ctx)
        BN_CTX_end(ctx);
    if (ctx)