diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/conf/conf_def.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/conf/conf_def.c b/src/lib/libcrypto/conf/conf_def.c index 39e8b8e521..26aee50a45 100644 --- a/src/lib/libcrypto/conf/conf_def.c +++ b/src/lib/libcrypto/conf/conf_def.c | |||
@@ -230,7 +230,7 @@ static int def_load_bio(CONF *conf, BIO *in, long *line) | |||
230 | CONFerr(CONF_F_DEF_LOAD_BIO,ERR_R_MALLOC_FAILURE); | 230 | CONFerr(CONF_F_DEF_LOAD_BIO,ERR_R_MALLOC_FAILURE); |
231 | goto err; | 231 | goto err; |
232 | } | 232 | } |
233 | BUF_strlcpy(section,"default",10); | 233 | strlcpy(section,"default",10); |
234 | 234 | ||
235 | if (_CONF_new_data(conf) == 0) | 235 | if (_CONF_new_data(conf) == 0) |
236 | { | 236 | { |
@@ -384,7 +384,7 @@ again: | |||
384 | ERR_R_MALLOC_FAILURE); | 384 | ERR_R_MALLOC_FAILURE); |
385 | goto err; | 385 | goto err; |
386 | } | 386 | } |
387 | BUF_strlcpy(v->name,pname,strlen(pname)+1); | 387 | strlcpy(v->name,pname,strlen(pname)+1); |
388 | if (!str_copy(conf,psection,&(v->value),start)) goto err; | 388 | if (!str_copy(conf,psection,&(v->value),start)) goto err; |
389 | 389 | ||
390 | if (strcmp(psection,section) != 0) | 390 | if (strcmp(psection,section) != 0) |