summaryrefslogtreecommitdiff
path: root/source4/auth/gensec
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-10-29 17:40:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:24:41 -0500
commit4fa24df98ded939c68bdc95e9f09334caeeb84af (patch)
tree156dfe96806880d1da7f944fff6a84ffcc045e59 /source4/auth/gensec
parent535d1920f887ef98d962bcd7a40eae556f8e727f (diff)
downloadsamba-4fa24df98ded939c68bdc95e9f09334caeeb84af.tar.gz
samba-4fa24df98ded939c68bdc95e9f09334caeeb84af.tar.bz2
samba-4fa24df98ded939c68bdc95e9f09334caeeb84af.zip
r19507: Merge my DSO fixes branch. Building Samba's libraries as shared libraries
works again now, by specifying --enable-dso to configure. (This used to be commit 7a01235067a4800b07b8919a6a475954bfb0b04c)
Diffstat (limited to 'source4/auth/gensec')
-rw-r--r--source4/auth/gensec/config.mk4
-rw-r--r--source4/auth/gensec/socket.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/auth/gensec/config.mk b/source4/auth/gensec/config.mk
index cb8b2edc85..84947785db 100644
--- a/source4/auth/gensec/config.mk
+++ b/source4/auth/gensec/config.mk
@@ -48,7 +48,7 @@ PUBLIC_DEPENDENCIES = SASL auth
SUBSYSTEM = gensec
INIT_FUNCTION = gensec_spnego_init
PRIVATE_PROTO_HEADER = spnego_proto.h
-PRIVATE_DEPENDENCIES = ASN1_UTIL
+PRIVATE_DEPENDENCIES = ASN1_UTIL GENSEC_SOCKET
OBJ_FILES = spnego.o \
spnego_parse.o
# End MODULE gensec_spnego
@@ -82,7 +82,7 @@ OBJ_FILES = \
[SUBSYSTEM::GENSEC_SOCKET]
OBJ_FILES = \
socket.o
-PUBLIC_DEPENDENCIES = samba-socket
+PUBLIC_DEPENDENCIES = samba-socket LIBPACKET
#PUBLIC_DEPENDENCIES = gensec
#
# End SUBSYSTEM GENSEC_SOCKET
diff --git a/source4/auth/gensec/socket.c b/source4/auth/gensec/socket.c
index cf7b196f9d..11db252e17 100644
--- a/source4/auth/gensec/socket.c
+++ b/source4/auth/gensec/socket.c
@@ -60,7 +60,7 @@ static NTSTATUS gensec_socket_init_fn(struct socket_context *sock)
/* These functions are for use here only (public because SPNEGO must
* use them for recursion) */
-NTSTATUS gensec_wrap_packets(struct gensec_security *gensec_security,
+_PUBLIC_ NTSTATUS gensec_wrap_packets(struct gensec_security *gensec_security,
TALLOC_CTX *mem_ctx,
const DATA_BLOB *in,
DATA_BLOB *out,