Nicolas Williams
27e5c40a79
gss: Fix leaks
2023-01-04 00:43:43 -06:00
Luke Howard
31af9ba703
gss: use tail queue instead of singly linked list in mechglue
...
The GSS mechglue uses singly linked lists for mechanisms and mechanism objects,
to which new entries are inserted at the head. This breaks ordering of
mechanisms specified in OID sets and in /etc/gss/mech, as they will be back to
front. Use a tail queue instead so that new entries are inserted at the end.
2020-02-04 17:28:35 +11:00
Luke Howard
4a93c4774a
gss: intern OIDs ( #447 )
...
Intern OIDs so that gss_release_oid() can be a NOOP.
2018-12-18 23:28:38 -06:00
Jeffrey Altman
a08431b658
gss/mech: fix make_sasl_name ctx leak
...
The EVP_MD_CTX created in make_sasl_name() must be destroyed
to prevent a memory allocation leak.
Change-Id: I0b7f5b1b0f4f252bfcdaec755d09ed75de505f75
2016-04-17 15:11:42 -05:00
Love Hornquist Astrand
4c7ba73439
Default to false(?), at least default to something.
2011-05-17 21:22:45 -07:00
Luke Howard
3a100237e6
fix link regression, use EVP_DigestFinal_ex
2011-05-16 23:36:02 +02:00
Luke Howard
e128b0ca01
Merge branch 'master' into lukeh/moonshot
...
Conflicts:
lib/gssapi/krb5/external.c
lib/libedit/src/vi.c
2011-05-12 13:04:55 +02:00
Love Hornquist Astrand
f5f9014c90
Warning fixes from Christos Zoulas
...
- shadowed variables
- signed/unsigned confusion
- const lossage
- incomplete structure initializations
- unused code
2011-04-29 20:25:05 -07:00
Luke Howard
45cd381f53
Cleanup API-as-SPI compatibility layer
2011-01-09 22:05:27 +11:00
Luke Howard
5b47a8816d
MIT SASL/attribute introspection SPI compat
2011-01-03 22:51:51 +11:00
Love Hornquist Astrand
7c7dd8e1af
prefix SLIST with HEIM
2010-12-12 11:45:35 -08:00
Love Hornquist Astrand
5dcf0753f4
fill in all mo that make sense for now
2010-11-25 23:52:43 -08:00
Love Hornquist Astrand
9be125f05b
return sucess at end
2010-11-25 21:51:51 -08:00
Love Hornquist Astrand
6ca842c5b7
gss_indicate_mechs_by_attrs
2010-11-25 21:40:25 -08:00
Love Hornquist Astrand
340f56ddcd
mo_name uess gss-mo-get
2010-11-25 20:46:14 -08:00
Love Hornquist Astrand
a7c11ee05e
add _gss_mo_get_ctx_as_value
2010-11-25 20:45:52 -08:00
Love Hornquist Astrand
c33e98ff26
implement gss_display_mech_attr
2010-11-25 20:19:30 -08:00
Love Hornquist Astrand
ab9267c04e
constify
2010-11-25 19:20:26 -08:00
Love Hornquist Astrand
dbeeb18a53
generate oids using table
2010-11-25 18:32:33 -08:00
Love Hornquist Astrand
616e59bf6d
implement gss_inquire_attrs_for_mech
2010-11-25 16:27:17 -08:00
Love Hornquist Astrand
ca1b7bfcc3
initial drop of gss-mo
2010-11-25 11:48:02 -08:00