diff options
author | jkim <jkim@FreeBSD.org> | 2015-12-03 21:18:48 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2015-12-03 21:18:48 +0000 |
commit | fdc1215ebe5182b5e2cd7afb01377a6d2e5d5781 (patch) | |
tree | 96586bfb12cf0a48212a27e95bfcefd19843fef0 /crypto/openssl/apps/engine.c | |
parent | 68a4f44cfaf14b23814241e38f291d7c61c65198 (diff) | |
download | FreeBSD-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.c | 5 |
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); |