openssl_strnchr
const char *end = openssl_strnchr(start, '/',
static const char *openssl_strnchr(const char *string, int c, size_t len);