From d19b78d81a39be2aff001ea7ecce630cc05982f2 Mon Sep 17 00:00:00 2001 From: Kaleb Himes Date: Mon, 30 Jul 2018 12:17:55 -0600 Subject: [PATCH] Fix typo in comment --- src/ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssl.c b/src/ssl.c index 4f03c0b88..fbda89f5e 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -16766,7 +16766,7 @@ WOLFSSL_EVP_PKEY* wolfSSL_X509_get_pubkey(WOLFSSL_X509* x509) sigSz = (int)x509->sig.length; if (sigSz <= 0) { - /* Don't both allocating memory, if sigSz invalid, abort! */ + /* if sigSz invalid return here to avoid overhead of malloc */ return WOLFSSL_FAILURE; }