diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-09-08 05:45:23 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:17:56 -0500 |
commit | 40cf47fa568e3f95cfc10d99a03e245948e42648 (patch) | |
tree | 3cd3a709321f9e461cf6fde4b5790ebdd68567f3 /source4/auth/gensec | |
parent | 5622eb1deec3f2ac4d0aa72e99e0ed300b9e9d05 (diff) | |
download | samba-40cf47fa568e3f95cfc10d99a03e245948e42648.tar.gz samba-40cf47fa568e3f95cfc10d99a03e245948e42648.tar.bz2 samba-40cf47fa568e3f95cfc10d99a03e245948e42648.zip |
r18255: Remove the SMB_ASSERT(), as these are not talloc()'ed structures.
Andrew Bartlett
(This used to be commit 73fba185eba6b059d34790c95a30d49b296759f5)
Diffstat (limited to 'source4/auth/gensec')
-rw-r--r-- | source4/auth/gensec/gensec.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/auth/gensec/gensec.c b/source4/auth/gensec/gensec.c index 0719fb2df6..904680febc 100644 --- a/source4/auth/gensec/gensec.c +++ b/source4/auth/gensec/gensec.c @@ -1246,9 +1246,6 @@ const struct gensec_critical_sizes *gensec_interface_version(void) } static int sort_gensec(struct gensec_security_ops **gs1, struct gensec_security_ops **gs2) { - SMB_ASSERT(talloc_get_type(*gs1, struct gensec_security_ops)); - SMB_ASSERT(talloc_get_type(*gs2, struct gensec_security_ops)); - return (*gs2)->order - (*gs1)->order; } |