add version script to libotp
This commit is contained in:
@@ -40,6 +40,10 @@ if do_roken_rename
|
||||
ROKEN_SRCS = snprintf.c strcasecmp.c strncasecmp.c strlwr.c strlcpy.c strlcat.c
|
||||
endif
|
||||
|
||||
if versionscript
|
||||
libotp_la_LDFLAGS += $(LDFLAGS_VERSION_SCRIPT)$(srcdir)/version-script.map
|
||||
endif
|
||||
|
||||
$(libotp_la_OBJECTS): $(ndbm_wrap)
|
||||
|
||||
ndbm_wrap.c:
|
||||
|
24
lib/otp/version-script.map
Normal file
24
lib/otp/version-script.map
Normal file
@@ -0,0 +1,24 @@
|
||||
HEIMDAL_OTP_1.0 {
|
||||
global:
|
||||
otp_challenge;
|
||||
otp_checksum;
|
||||
otp_db_close;
|
||||
otp_db_open;
|
||||
otp_delete;
|
||||
otp_error;
|
||||
otp_get;
|
||||
otp_parse;
|
||||
otp_parse_altdict;
|
||||
otp_parse_hex;
|
||||
otp_parse_stddict;
|
||||
otp_print_hex;
|
||||
otp_print_hex_extended;
|
||||
otp_print_stddict;
|
||||
otp_print_stddict_extended;
|
||||
otp_put;
|
||||
otp_simple_get;
|
||||
otp_verify_user;
|
||||
otp_verify_user_1;
|
||||
local:
|
||||
*;
|
||||
};
|
Reference in New Issue
Block a user