Skip to contentSkip to conversation

pem.c: do not use rawmemchr()

PATCH Denis Kenzior 1 participant 1 message Nov 18, 2021 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Denis Kenzior

author
#1 lore raw

Hi Alexander,

Quoted 4 lines · Alexander Kanavin

From: Alexander Kanavin <alex.kanavin(a)gmail.com>

This is a glibc-only function, and causes build failures with alternative libc implementations such as musl.

I believe ell builds just fine on musl. We already have an alternate implementation of rawmemchr in ell/missing.h and it should be used automagically in case its absence is detected at configure time. Is this not working for you ?

Quoted 4 lines
---
  ell/pem.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Regards,
-Denis