diff options
| author | Ian Moffett <ian@osmora.org> | 2024-09-30 23:10:45 -0400 | 
|---|---|---|
| committer | Ian Moffett <ian@osmora.org> | 2024-09-30 23:10:45 -0400 | 
| commit | eb3eedb13e111d38afac86ab1de63c41f6421c9f (patch) | |
| tree | 20e24e6894697f8041077faef8466d19a6a46ca8 | |
| parent | 73ead92c2d37d5d091992ef617c4abdfe9907a18 (diff) | |
lib: session: Remove zeroing of hash
Signed-off-by: Ian Moffett <ian@osmora.org>
| -rw-r--r-- | lib/libostp/session.c | 1 | 
1 files changed, 0 insertions, 1 deletions
| diff --git a/lib/libostp/session.c b/lib/libostp/session.c index e3f1fd9..39acba2 100644 --- a/lib/libostp/session.c +++ b/lib/libostp/session.c @@ -229,7 +229,6 @@ session_new(const char *host, struct ostp_session *res)       * Setup the session request and add our public       * key to it. We also assume user authentication.       */ -    memset(stp_sq.hash, 0, sizeof(stp_sq.hash));      stp_sq.options = SESSION_REQ_USER;      memcpy(stp_sq.pubkey, keypair.pubkey, sizeof(stp_sq.pubkey)); | 
