Skip to content

Commit

Permalink
Add LGTM code quality badges
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaozg committed May 26, 2019
1 parent dd19cc0 commit 9d2db23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ lua-openssl toolkit - A free, MIT-licensed OpenSSL binding for Lua.

[![Build Status](https://travis-ci.org/zhaozg/lua-openssl.svg)](https://travis-ci.org/zhaozg/lua-openssl)
[![Build status](https://ci.appveyor.com/api/projects/status/f8xchhlj035yqq88/branch/master?svg=true)](https://ci.appveyor.com/project/zhaozg/lua-openssl/branch/master)
[![Total alerts](https://img.shields.io/lgtm/alerts/g/zhaozg/lua-openssl.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/zhaozg/lua-openssl/alerts/)
[![Language grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/zhaozg/lua-openssl.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/zhaozg/lua-openssl/context:cpp)

# Index

Expand Down
6 changes: 0 additions & 6 deletions src/ssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1122,12 +1122,6 @@ static int tlsext_servername_callback(SSL *ssl, int *ad, void *arg)
return SSL_TLSEXT_ERR_OK;
}
}
else if (lua_isfunction(L, -1))
{
}
else
{
}

lua_pop(L, 1);
return SSL_TLSEXT_ERR_ALERT_FATAL;
Expand Down

0 comments on commit 9d2db23

Please sign in to comment.