Fix a small bug in str_copy: if more than one variable is replaced, make
authorGeoff Thorpe <geoff@openssl.org>
Fri, 21 Nov 2003 21:42:35 +0000 (21:42 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Fri, 21 Nov 2003 21:42:35 +0000 (21:42 +0000)
commitec2179cf81687380eaef3c745e2dbbc15bbbe2cb
treedee262674bc8289342b9dac90a4d66ee98effac6
parenta8287a90ead0b3d266f2555885790edc7cbd7cbd
Fix a small bug in str_copy: if more than one variable is replaced, make
sure the current length is used to calculate the new buffer length instead
of using the old length (prior to any variable substitution).

Submitted by: Nils Larsch
crypto/conf/conf_def.c