Skip to content

Three minor fixes #139

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 14, 2023
Merged

Three minor fixes #139

merged 3 commits into from
Apr 14, 2023

Conversation

oxpa
Copy link
Contributor

@oxpa oxpa commented Apr 14, 2023

Hello,

I was building spnego module on FreeBSD 13 with nginx 1.23.4 and ran into a couple of problems:

  1. clang warns about uninitialized kcontex variable
  2. clang warns about 'next' field uninitialized
  3. heimdal deprecates krb5_get_init_creds_opt_init()

Additionally, I have my own tests which fail if there is an unexpected shared memory zone in the configuration (I'm using lua module which has to create some specific zones). So I moved shared memory zone creation to a later stage when the module can be sure that it is needed. I also added an option to configure the zone name if needed.

Changes seem to solve my problems and don't break anything for other platform/libraries. I tested it works on debian/ubuntu(MIT based) and bsd system (heimdal)

I guess proper heimdal patch should be more involved but this one works for me. So good enough, I guess.

Let me know if I should split my PR into three separate.

Regards,
oxpa

@stnoonan stnoonan merged commit 3575542 into stnoonan:master Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants