1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00
Commit Graph

24 Commits

Author SHA1 Message Date
Philipp Schafft
0ef660bcde Feature: Use more modern algo for password store
Closes: #2010
2023-02-21 23:38:53 +00:00
Philipp Schafft
898d38768c Cleanup: Replaced final bit of MD5 code with something nice
This replaces the MD5 related code with something that is much nicer:
The new code consists of util_crypt_hash() that can be used to hash
a password and util_crypt_check() which is used to check the password
taking into account options and salts.
2023-02-21 14:31:25 +00:00
Philipp Schafft
f1c32d7bf4 Cleanup: Replaced the MD5 code with librhash
This cleanup removes our own implementation of MD5.
librhash is a hard dependency of libigloo which we also hard
depend on. So it is safe to assume it is always there.

More cleanup should be done once support for more algos for
htpasswd has been implemented.
2023-02-21 14:31:25 +00:00
Philipp Schafft
c7c4a63b66 Update: Added tests for MD5 handling code 2023-02-21 14:31:25 +00:00
Philipp Schafft
c2f25a9108 Feature: Added support for %H-style format to string renderer 2022-09-17 17:17:28 +00:00
Philipp Schafft
c4edf52ef8 Feature: Added a very basic module to build strings from individual parts 2022-09-17 17:17:24 +00:00
Philipp Schafft
eb4d037842 Cleanup: Removed unused buffer.[ch] 2022-03-21 12:57:33 +00:00
Philipp Schafft
26b1449d19 Cleanup: Migrated to libigloo's TAP support 2022-03-21 12:52:47 +00:00
Philipp Schafft
29e2359d97 Update: Work around older versions of automake 2022-03-13 16:24:57 +00:00
Philipp Schafft
bdbe3379ce Update: Replaced buffer_new_simple() by refobject_new(buffer_t) 2018-10-10 14:48:25 +00:00
Philipp Schafft
48bb477301 Feature: Added REFOBJECT_DEFINE_TYPE_NEW_NOOP() 2018-10-10 14:42:37 +00:00
Philipp Schafft
491c4ab2f4 Feature: Implemented simple API refobject_new() and refobject_new_ext() 2018-10-10 14:27:07 +00:00
Philipp Schafft
9f6d3c3018 Cleanup: Removed no longer needed REFOBJECT_DEFINE_TYPE_FREE(NULL)s 2018-10-10 14:15:00 +00:00
Philipp Schafft
d10a9683aa Feature: Added tests for REFOBJECT_GET_TYPENAME() and REFOBJECT_IS_VALID() 2018-10-10 13:12:01 +00:00
Philipp Schafft
c0ff861107 Fix: Updated unit tests to new refobject API 2018-10-10 12:55:32 +00:00
Philipp Schafft
934cc32285 Feature: Added a way to push buffers into buffers 2018-09-20 09:11:55 +00:00
Philipp Schafft
71b156afc6 Feature: Added buffer_push_printf() and buffer_push_vprintf() 2018-09-20 09:01:49 +00:00
Philipp Schafft
f58f11f2d2 Feature: Test buffer_set_length() 2018-09-20 08:16:25 +00:00
Philipp Schafft
99671cdb40 Feature: Added tests for buffer_shift() 2018-09-20 08:16:25 +00:00
Philipp Schafft
b45c254bf9 Feature: Test bit patterns 2018-09-20 08:16:25 +00:00
Philipp Schafft
661f101790 Feature: Added tests related to buffer_t's string interface 2018-09-20 08:16:25 +00:00
Philipp Schafft
aa270e7bd3 Feature: Run getter tests on empty buffers 2018-09-20 08:16:25 +00:00
Philipp Schafft
bc69719462 Feature: Added first (create/unref) tests for buffers 2018-09-20 08:16:25 +00:00
Marvin Scholz
d9793f4e33 Update: Separate integration and unit tests
- Unit tests are now in `src/tests`
- Integration tests are in `tests`
2018-08-16 16:24:48 +02:00