Implemented public SHA1 interface

A number of XEPs require SHA1. Publishing its interface helps user to
reduce number of dependencies.
This commit is contained in:
Dmitry Podgorny
2016-04-29 22:48:58 +00:00
parent 565ace7982
commit e4a4bdd3a3
3 changed files with 204 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ libstrophe_la_CFLAGS = $(SSL_CFLAGS) $(STROPHE_FLAGS) $(PARSER_CFLAGS)
libstrophe_la_LDFLAGS = $(SSL_LIBS) $(PARSER_LIBS) $(RESOLV_LIBS) -no-undefined
# Export only public API
libstrophe_la_LDFLAGS += -export-symbols-regex '^xmpp_'
libstrophe_la_SOURCES = src/auth.c src/conn.c src/ctx.c \
libstrophe_la_SOURCES = src/auth.c src/conn.c src/crypto.c src/ctx.c \
src/event.c src/handler.c src/hash.c src/jid.c src/md5.c \
src/resolver.c src/sasl.c src/scram.c src/sha1.c \
src/snprintf.c src/sock.c src/stanza.c src/util.c \