Wireshark-dev: Re: [Wireshark-dev] Looking for a base32_encode
From: Pascal Quantin <[email protected]>
Date: Thu, 29 Nov 2018 11:47:57 +0100
Hi Antoine,

Le jeu. 29 nov. 2018 à 10:26, Antoine d'Otreppe <[email protected]> a écrit :
Makes sense.

I had a look at a few sample implementations, the algorithm looks rather lengthy and error-prone. What's your policy on including source code from other open source projects? Which would be the best option?

1. pull code from another library (and then where do I put the copyright notice ?)

You can put the copyright notice at the beginning of the C file. But pelase ensure that the license is compatible with GPL2 or later (see https://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses and https://www.gnu.org/licenses/gpl-faq.html#AllCompatibility)
2. implement a new one in wireshark


‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, November 29, 2018 10:01 AM, Roland Knall <[email protected]> wrote:

If it's not in there, I would assume not. But you can allways submit a patch, which adds the functionality to wsutil/base32.c. We only implement function s that are actually needed.

kind regards

Am Do., 29. Nov. 2018 um 09:35 Uhr schrieb Antoine d'Otreppe <[email protected]>:
Hi all,

Still working on the syncthing dissector, I need a base32_encode.
I've noticed there's a wsutil/base32.c file, which contains a base32_decode.
Unfortunately I couldn't find the corresponding encode.

Do we have that somewhere?

Sent via:    Wireshark-dev mailing list <[email protected]>
             mailto:[email protected]?subject=unsubscribe

Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe