Undo commit d420ac2
[openssl.git] / crypto / objects / obj_dat.c
index f8c1db3c8372dce5a312b8d1373332b97df13fad..72919cef058a3122dafc09f3057919b141147a85 100644 (file)
@@ -500,7 +500,7 @@ int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name)
             n += i;
             OPENSSL_free(bndec);
         } else {
-            BIO_snprintf(tbuf, sizeof tbuf, ".%lu", l);
+            sprintf(tbuf, ".%lu", l);
             i = strlen(tbuf);
             if (buf && (buf_len > 0)) {
                 OPENSSL_strlcpy(buf, tbuf, buf_len);