=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/Attic/engine.c,v retrieving revision 1.1 retrieving revision 1.2 diff -c -r1.1 -r1.2 *** src/usr.bin/openssl/Attic/engine.c 2014/08/26 17:47:24 1.1 --- src/usr.bin/openssl/Attic/engine.c 2014/12/07 15:08:32 1.2 *************** *** 1,4 **** ! /* $OpenBSD: engine.c,v 1.1 2014/08/26 17:47:24 jsing Exp $ */ /* Written by Richard Levitte for the OpenSSL * project 2000. */ --- 1,4 ---- ! /* $OpenBSD: engine.c,v 1.2 2014/12/07 15:08:32 jsing Exp $ */ /* Written by Richard Levitte for the OpenSSL * project 2000. */ *************** *** 96,103 **** static int append_buf(char **buf, const char *s, int *size, int step) { - int l = strlen(s); - if (*buf == NULL) { *size = step; *buf = malloc(*size); --- 96,101 ---- *************** *** 105,112 **** return 0; **buf = '\0'; } - if (**buf != '\0') - l += 2; /* ", " */ if (strlen(*buf) + strlen(s) >= (unsigned int) *size) { *size += step; --- 103,108 ----