diff options
author | Alessandro Ghedini <alessandro@ghedini.me> | 2015-10-08 22:00:27 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2015-10-23 19:52:08 +0200 |
commit | 070c23325af4526c9a8532a60d63522c58d5554b (patch) | |
tree | 91a589786247ff47da757a51294768b1fe888b24 /apps/engine.c | |
parent | 8cf9d71a3a43d9b98a8a278d47dc08088a954a7b (diff) |
Remove useless code
RT#4081
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps/engine.c')
-rw-r--r-- | apps/engine.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/engine.c b/apps/engine.c index b4da23ee89..17e6f789f7 100644 --- a/apps/engine.c +++ b/apps/engine.c @@ -94,17 +94,12 @@ 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 = app_malloc(*size, "engine buffer"); **buf = '\0'; } - if (**buf != '\0') - l += 2; /* ", " */ - if (strlen(*buf) + strlen(s) >= (unsigned int)*size) { *size += step; *buf = OPENSSL_realloc(*buf, *size); |