components/openssl: add more interface for application

This commit is contained in:
dongheng
2016-09-21 09:23:29 +08:00
parent 44c466c0ea
commit 5adc661d05
11 changed files with 92 additions and 152 deletions

View File

@@ -3,9 +3,4 @@
#include "ssl_types.h"
#define SSL_want_nothing(s) (SSL_want(s) == SSL_NOTHING)
#define SSL_want_read(s) (SSL_want(s) == SSL_READING)
#define SSL_want_write(s) (SSL_want(s) == SSL_WRITING)
#define SSL_want_x509_lookup(s) (SSL_want(s) == SSL_WRITING)
#endif

View File

@@ -8,4 +8,6 @@ EVP_PKEY *d2i_PrivateKey(int type,
const unsigned char **pp,
long length);
void EVP_PKEY_free(EVP_PKEY *x);
#endif