implemented ssl_error as macro
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@540 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -16,15 +16,3 @@
|
||||
* You should have received a copy of the GNU General Public License along with
|
||||
* ccid. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "sslutil.h"
|
||||
#include <openssl/err.h>
|
||||
#include <libopensc/log.h>
|
||||
|
||||
void ssl_error(sc_context_t *ctx) {
|
||||
unsigned long r;
|
||||
ERR_load_crypto_strings();
|
||||
for (r = ERR_get_error(); r; r = ERR_get_error()) {
|
||||
sc_debug(ctx, SC_LOG_DEBUG_VERBOSE, ERR_error_string(r, NULL));
|
||||
}
|
||||
ERR_free_strings();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user