diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/objects/obj_dat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/objects/obj_dat.c b/src/lib/libcrypto/objects/obj_dat.c index cf4db7c6b5..b3388b117d 100644 --- a/src/lib/libcrypto/objects/obj_dat.c +++ b/src/lib/libcrypto/objects/obj_dat.c | |||
@@ -486,7 +486,7 @@ int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name) | |||
486 | if (s) | 486 | if (s) |
487 | { | 487 | { |
488 | if (buf) | 488 | if (buf) |
489 | BUF_strlcpy(buf,s,buf_len); | 489 | strlcpy(buf,s,buf_len); |
490 | n=strlen(s); | 490 | n=strlen(s); |
491 | return n; | 491 | return n; |
492 | } | 492 | } |
@@ -576,7 +576,7 @@ int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name) | |||
576 | *buf++ = '.'; | 576 | *buf++ = '.'; |
577 | buf_len--; | 577 | buf_len--; |
578 | } | 578 | } |
579 | BUF_strlcpy(buf,bndec,buf_len); | 579 | strlcpy(buf,bndec,buf_len); |
580 | if (i > buf_len) | 580 | if (i > buf_len) |
581 | { | 581 | { |
582 | buf += buf_len; | 582 | buf += buf_len; |
@@ -598,7 +598,7 @@ int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name) | |||
598 | i=strlen(tbuf); | 598 | i=strlen(tbuf); |
599 | if (buf && (buf_len > 0)) | 599 | if (buf && (buf_len > 0)) |
600 | { | 600 | { |
601 | BUF_strlcpy(buf,tbuf,buf_len); | 601 | strlcpy(buf,tbuf,buf_len); |
602 | if (i > buf_len) | 602 | if (i > buf_len) |
603 | { | 603 | { |
604 | buf += buf_len; | 604 | buf += buf_len; |