summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/apps/engine.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2015-12-03 21:18:48 +0000
committerjkim <jkim@FreeBSD.org>2015-12-03 21:18:48 +0000
commitfdc1215ebe5182b5e2cd7afb01377a6d2e5d5781 (patch)
tree96586bfb12cf0a48212a27e95bfcefd19843fef0 /crypto/openssl/apps/engine.c
parent68a4f44cfaf14b23814241e38f291d7c61c65198 (diff)
downloadFreeBSD-src-fdc1215ebe5182b5e2cd7afb01377a6d2e5d5781.zip
FreeBSD-src-fdc1215ebe5182b5e2cd7afb01377a6d2e5d5781.tar.gz
Merge OpenSSL 1.0.1q.
Diffstat (limited to 'crypto/openssl/apps/engine.c')
-rw-r--r--crypto/openssl/apps/engine.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/crypto/openssl/apps/engine.c b/crypto/openssl/apps/engine.c
index 3d70cac..460ec60 100644
--- a/crypto/openssl/apps/engine.c
+++ b/crypto/openssl/apps/engine.c
@@ -99,8 +99,6 @@ static void identity(char *ptr)
static int append_buf(char **buf, const char *s, int *size, int step)
{
- int l = strlen(s);
-
if (*buf == NULL) {
*size = step;
*buf = OPENSSL_malloc(*size);
@@ -109,9 +107,6 @@ static int append_buf(char **buf, const char *s, int *size, int step)
**buf = '\0';
}
- if (**buf != '\0')
- l += 2; /* ", " */
-
if (strlen(*buf) + strlen(s) >= (unsigned int)*size) {
*size += step;
*buf = OPENSSL_realloc(*buf, *size);
OpenPOWER on IntegriCloud