diff options
-rw-r--r-- | lib/ssluse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c index caffdad9a..eb022ad93 100644 --- a/lib/ssluse.c +++ b/lib/ssluse.c @@ -1888,7 +1888,7 @@ static void pubkey_show(struct SessionHandle *data, char namebuf[32]; char *buffer; - left = sizeof(len*3 + 1); + left = len*3 + 1; buffer = malloc(left); if(buffer) { char *ptr=buffer; |