* GNU Automake (automake)
* GNU Autoconf (autoconf)
* GNU Libtool (libtool, libtool-ltdl-devel)
-* optional: GNU bison (bison)
-* optional: GNU flex (flex)
+* GNU bison (bison)
+* GNU flex (flex)
Debian Packages
---------------
rc = SSL_read(m_SSL.get(), buffer, bufferSize);
if (rc <= 0) {
- int error = SSL_get_error(m_SSL.get(), rc);
-
- switch (error) {
+ switch (SSL_get_error(m_SSL.get(), rc)) {
case SSL_ERROR_WANT_WRITE:
m_BlockRead = true;
/* fall through */
return;
default:
HandleSocketError(OpenSSLException(
- "SSL_read failed", error));
+ "SSL_read failed", ERR_get_error()));
return;
}
}
rc = SSL_write(m_SSL.get(), (const char *)GetSendQueue()->GetReadBuffer(), write_size);
if (rc <= 0) {
- int error = SSL_get_error(m_SSL.get(), rc);
- switch (error) {
+ switch (SSL_get_error(m_SSL.get(), rc)) {
case SSL_ERROR_WANT_READ:
m_BlockWrite = true;
/* fall through */
return;
default:
HandleSocketError(OpenSSLException(
- "SSL_write failed", error));
+ "SSL_write failed", ERR_get_error()));
return;
}
}
void AdjustCheckTimer(void);
void AssignServiceRequestHandler(const Endpoint::Ptr& sender, const RequestMessage& request);
- void RevokeServiceRequestHandler(const Endpoint::Ptr& sender, const RequestMessage& request);
void ClearServicesRequestHandler(const Endpoint::Ptr& sender, const RequestMessage& request);
};
## Process this file with automake to produce Makefile.in
-noinst_LTLIBRARIES = \
+pkglib_LTLIBRARIES = \
libpopen_noshell.la
-libpopen_noshell_la_SOURCES = \
+libpopen_noshell_la_SOURCES = \
popen_noshell.c \
popen_noshell.h
+
+libpopen_noshell_la_LDFLAGS = \
+ -z now