aboutsummaryrefslogtreecommitdiff
path: root/libssh/wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/wrapper.c')
-rw-r--r--libssh/wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/wrapper.c b/libssh/wrapper.c
index fd47c7a..4e94373 100644
--- a/libssh/wrapper.c
+++ b/libssh/wrapper.c
@@ -487,7 +487,7 @@ CRYPTO *crypto_new(void) {
return NULL;
}
- ZERO_STRUCTP(crypto);
+ memset(crypto, 0, sizeof(CRYPTO));
return crypto;
}