aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/check_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index daddfc19..dabe35ea 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -920,7 +920,7 @@ int connect_SSL (void)
{
SSL_METHOD *meth;
- asprintf (randbuff, "%s", "qwertyuiopasdfghjkl");
+ asprintf (&randbuff, "%s", "qwertyuiopasdfghjkl");
RAND_seed (randbuff, strlen (randbuff));
/* Initialize SSL context */
SSLeay_add_ssl_algorithms ();