[krbdev.mit.edu #8561] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Mon Aug 21 16:17:48 EDT 2017


Avoid repeating typedef in certauth_plugin.h

Repeating an identical typedef is allowed by C11, but not C99 or C89.
Use the underlying structure type in certauth_plugin.h so that it can
safely be included along with kdb.h.

Also constify the name field in the vtable.

https://github.com/krb5/krb5/commit/da47c655f084b511ea1f6142b6f571b5198915b7
Author: Greg Hudson <ghudson at mit.edu>
Commit: da47c655f084b511ea1f6142b6f571b5198915b7
Branch: master
 src/include/krb5/certauth_plugin.h      |    8 +++++---
 src/plugins/certauth/test/main.c        |    6 ++++--
 src/plugins/preauth/pkinit/pkinit_srv.c |    9 ++++++---
 3 files changed, 15 insertions(+), 8 deletions(-)



More information about the krb5-bugs mailing list