You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by cl...@apache.org on 2022/03/15 05:13:32 UTC

[qpid-proton] branch main updated: PROTON-2512: TLS library - remove unused code

This is an automated email from the ASF dual-hosted git repository.

cliffjansen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git


The following commit(s) were added to refs/heads/main by this push:
     new 532bbd8  PROTON-2512: TLS library - remove unused code
532bbd8 is described below

commit 532bbd84cfe761c54a685c38edca864aeea3d0cd
Author: Cliff Jansen <cl...@apache.org>
AuthorDate: Mon Mar 14 22:11:41 2022 -0700

    PROTON-2512: TLS library - remove unused code
---
 c/src/tls/openssl.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/c/src/tls/openssl.c b/c/src/tls/openssl.c
index 7b889c5..779e2b8 100644
--- a/c/src/tls/openssl.c
+++ b/c/src/tls/openssl.c
@@ -1462,10 +1462,6 @@ static inline uint32_t room(pbuffer_t const *b) {
   return 0;
 }
 
-static inline size_t size_min(uint32_t a, uint32_t b) {
-  return (a <= b) ? a : b;
-}
-
 bool pn_tls_is_secure(pn_tls_t * tls) {
   return tls->handshake_ok && !tls->pn_tls_err && !tls->stopped;
 }

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org