s4:http/gensec: rename ntlm.c to generic.c
authorStefan Metzmacher <metze@samba.org>
Thu, 20 Jul 2017 10:07:18 +0000 (12:07 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 7 Aug 2017 13:20:02 +0000 (15:20 +0200)
Check with git show -C

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/lib/http/gensec/generic.c [moved from source4/lib/http/gensec/ntlm.c with 97% similarity]
source4/lib/http/wscript_build

similarity index 97%
rename from source4/lib/http/gensec/ntlm.c
rename to source4/lib/http/gensec/generic.c
index 788fb7d..92993e8 100644 (file)
@@ -27,7 +27,7 @@
 #include "auth/gensec/gensec_internal.h"
 #include "lib/util/base64.h"
 
-_PUBLIC_ NTSTATUS gensec_http_ntlm_init(TALLOC_CTX *);
+_PUBLIC_ NTSTATUS gensec_http_generic_init(TALLOC_CTX *);
 
 struct gensec_http_ntlm_state {
        struct gensec_security *sub;
@@ -170,7 +170,7 @@ static const struct gensec_security_ops gensec_http_ntlm_security_ops = {
        .priority       = GENSEC_EXTERNAL,
 };
 
-_PUBLIC_ NTSTATUS gensec_http_ntlm_init(TALLOC_CTX *ctx)
+_PUBLIC_ NTSTATUS gensec_http_generic_init(TALLOC_CTX *ctx)
 {
        NTSTATUS status;
 
index e18d853..e77a699 100644 (file)
@@ -13,9 +13,9 @@ bld.SAMBA_MODULE('gensec_http_basic',
        deps='samba-util auth_session'
 )
 
-bld.SAMBA_MODULE('gensec_http_ntlm',
-       source='gensec/ntlm.c',
+bld.SAMBA_MODULE('gensec_http_generic',
+       source='gensec/generic.c',
        subsystem='gensec',
-       init_function='gensec_http_ntlm_init',
+       init_function='gensec_http_generic_init',
        deps='samba-util auth_session'
 )