This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/14118] New: b64_ntop function not in public API


http://sourceware.org/bugzilla/show_bug.cgi?id=14118

             Bug #: 14118
           Summary: b64_ntop function not in public API
           Product: glibc
           Version: unspecified
               URL: https://fedorahosted.org/fpc/ticket/172
            Status: NEW
          Severity: minor
          Priority: P2
         Component: libc
        AssignedTo: unassigned@sourceware.org
        ReportedBy: dominik@greysector.net
                CC: drepper.fsp@gmail.com
    Classification: Unclassified


b64_ntop function is not in public API. This forces people to reimplement it or
use less convenient libraries like openssl. Officially exposing base64
functions from glibc would benefit all.

I can see it's defined in resolv/base64.c and it looks like it's been imported
from libresolv in 1996:
http://sourceware.org/git/?p=glibc.git;a=commit;f=resolv/base64.c;h=df21c8581af14b07680c17eefc7479eac510c60f

The declaration can be found in include/resolv.h, but only as
libresolv_hidden_proto (__b64_ntop)

Apart from that, there's no mention of this function in the API documentation,
even though it's quite usable by external code.

See https://fedorahosted.org/fpc/ticket/172 for the discussion that prompted
this bug report.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]