diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2011-05-28 23:56:10 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2011-05-28 23:56:10 -0700 |
commit | 0da32da2d8089439316b1ad8f004047dd5d0fe36 (patch) | |
tree | 7b0ccc4cbab9f36712cbb417831e03032b7cef08 /common/ssl_calls.c | |
parent | bb75ea62b2b6ee9864b1feb9afa0af337fb65dd9 (diff) | |
download | xrdp-proprietary-0da32da2d8089439316b1ad8f004047dd5d0fe36.tar.gz xrdp-proprietary-0da32da2d8089439316b1ad8f004047dd5d0fe36.zip |
add ssl init to common
Diffstat (limited to 'common/ssl_calls.c')
-rw-r--r-- | common/ssl_calls.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/common/ssl_calls.c b/common/ssl_calls.c index aa389743..3d37ed6d 100644 --- a/common/ssl_calls.c +++ b/common/ssl_calls.c @@ -21,6 +21,8 @@ */ #include <stdlib.h> /* needed for openssl headers */ +#include <openssl/ssl.h> +#include <openssl/err.h> #include <openssl/rc4.h> #include <openssl/md5.h> #include <openssl/sha.h> @@ -37,6 +39,22 @@ #define OLD_RSA_GEN1 #endif +/*****************************************************************************/ +int +ssl_init(void) +{ + SSL_load_error_strings(); + SSL_library_init(); + return 0; +} + +/*****************************************************************************/ +int +ssl_finish(void) +{ + return 0; +} + /* rc4 stuff */ /*****************************************************************************/ |