component/openssl: add openssl stack function and clear unused variate

1. add openssl 'new' and 'free' function
	2. add clear unused variate to void warning to appear when compile
        3. add internal function 'X509_new' to take the place of 'sk_X509_NAME_new_null' function whitch is openssl stack function
This commit is contained in:
dongheng
2016-09-22 14:42:49 +08:00
parent c504fe4856
commit 2cc32db52d
8 changed files with 62 additions and 30 deletions
+2 -2
View File
@@ -15,8 +15,8 @@
#ifndef _SSL_H_
#define _SSL_H_
#include "ssl_port.h"
#include "internal/ssl_types.h"
#include "platform/ssl_port.h"
#include "internal/ssl_x509.h"
/*
{