diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2011-11-09 15:04:13 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2011-11-09 15:16:28 +0200 |
commit | 70f063cb773bedb7d336429d9bc8ed1d4e5d18f4 (patch) | |
tree | 6d525fdbb1e92051dda4b05e5c23fc7f2e531f71 /preinstall.am | |
parent | 6bced5bc08c3c8291fc7488c35e1703cba0f9ef6 (diff) | |
download | rpm-70f063cb773bedb7d336429d9bc8ed1d4e5d18f4.tar.gz rpm-70f063cb773bedb7d336429d9bc8ed1d4e5d18f4.tar.bz2 rpm-70f063cb773bedb7d336429d9bc8ed1d4e5d18f4.zip |
Make base64 encoding/decoding part of rpmio public API
- Base64 is present in headers and all, it's only reasonable that
our API users have access to this functionality without having
to link to other libraries. Even if we didn't want to carry the
implementation forever in our codebase, we should provide a wrapping
for this (much like the other crypto stuff) for the reason stated above.
- A bigger issue is that our dirty little (badly hidden) secret was using
non-namespaced function names, clashing with at least beecrypt. And we
couldn't have made these internal-only symbols even on platforms that
support it, because they are used all over the place outside rpmio.
So... rename the b64 functions to rpmLikeNamingStyle and make 'em public.
No functional changes, just trivial renaming despite touching numerous
places.
Diffstat (limited to 'preinstall.am')
-rw-r--r-- | preinstall.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/preinstall.am b/preinstall.am index 170c94c6b..4da80c1f8 100644 --- a/preinstall.am +++ b/preinstall.am @@ -46,6 +46,10 @@ include/rpm/rpmkeyring.h: rpmio/rpmkeyring.h include/rpm/$(dirstamp) $(INSTALL_DATA) $(top_srcdir)/rpmio/rpmkeyring.h include/rpm/rpmkeyring.h BUILT_SOURCES += include/rpm/rpmkeyring.h CLEANFILES += include/rpm/rpmkeyring.h +include/rpm/rpmbase64.h: rpmio/rpmbase64.h include/rpm/$(dirstamp) + $(INSTALL_DATA) $(top_srcdir)/rpmio/rpmbase64.h include/rpm/rpmbase64.h +BUILT_SOURCES += include/rpm/rpmbase64.h +CLEANFILES += include/rpm/rpmbase64.h include/rpm/header.h: lib/header.h include/rpm/$(dirstamp) $(INSTALL_DATA) $(top_srcdir)/lib/header.h include/rpm/header.h BUILT_SOURCES += include/rpm/header.h |