<pre style='margin:0'>
NicosPavlov pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c2af23c23a35af470c81f90538efdaffac799c2c">https://github.com/macports/macports-ports/commit/c2af23c23a35af470c81f90538efdaffac799c2c</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new c2af23c kdelibs4: fix build with openssl 1.1 (fixes https://trac.macports.org/ticket/58970)
</span>c2af23c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c2af23c23a35af470c81f90538efdaffac799c2c
</span>Author: Nicolas Pavillon <pavillon.nicolas@gmail.com>
AuthorDate: Mon Sep 16 17:40:12 2019 +0900
<span style='display:block; white-space:pre;color:#404040;'> kdelibs4: fix build with openssl 1.1 (fixes https://trac.macports.org/ticket/58970)
</span>---
kde/kdelibs4/Portfile | 3 +-
kde/kdelibs4/files/kdelibs-openssl-1.1.patch | 4007 ++++++++++++++++++++++++++
2 files changed, 4009 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/kde/kdelibs4/Portfile b/kde/kdelibs4/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 72f8193..e6cebce 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/kde/kdelibs4/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/kde/kdelibs4/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -70,7 +70,8 @@ patchfiles workaround-kdeinit4-crash.patch \
</span> patch-KdePreferences.diff \
patch-ui-CMakeLists.diff \
patch-FindExiv2.diff \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-locale.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-locale.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ kdelibs-openssl-1.1.patch
</span>
#Deactivated as of ticket #45373
# patch-nativeDialogs.diff
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/kde/kdelibs4/files/kdelibs-openssl-1.1.patch b/kde/kdelibs4/files/kdelibs-openssl-1.1.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..1f6b7fc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/kde/kdelibs4/files/kdelibs-openssl-1.1.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,4007 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- kdelibs-4.14.26/kio/CMakeLists.txt.omv~ 2016-11-14 22:38:29.427137096 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ kdelibs-4.14.26/kio/CMakeLists.txt 2016-11-14 22:39:21.476667341 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -325,6 +325,7 @@ install(FILES kssl/ksslcertificatemanage
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DESTINATION ${DATA_INSTALL_DIR}/kconf_update)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ kde4_add_library(kio ${LIBRARY_TYPE} ${kio_LIB_SRCS})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++target_link_libraries(kio -lssl -lcrypto)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if(NOT KIO_NO_NEPOMUK)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ kde4_add_executable(kfilemetadatareader ${kfilemetadatareaderprocess_SRCS})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- kdelibs-4.14.26/kio/kssl/kopenssl.cpp.omv~ 2016-11-07 00:11:51.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ kdelibs-4.14.26/kio/kssl/kopenssl.cpp 2016-11-14 22:11:02.355008887 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -18,223 +18,52 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "kopenssl.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#include <config.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <ksslconfig.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef KSSL_HAVE_SSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if KSSL_HAVE_SSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <openssl/opensslv.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <openssl/err.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#include <kdebug.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <kconfig.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <kconfiggroup.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#include <klibrary.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <QtCore/QCoreApplication>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <QtCore/QFile>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <QtCore/QLibrary>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <QtCore/QRegExp>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#include <stdio.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#include <unistd.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-extern "C" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef KSSL_HAVE_SSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_SSL_connect) (SSL *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_SSL_accept) (SSL *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_SSL_read) (SSL *, void *, int) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_SSL_write) (SSL *, const void *, int) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static SSL *(*K_SSL_new) (SSL_CTX *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static void (*K_SSL_free) (SSL *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_SSL_shutdown) (SSL *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static SSL_CTX *(*K_SSL_CTX_new)(SSL_METHOD *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static void (*K_SSL_CTX_free) (SSL_CTX *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_SSL_set_fd) (SSL *, int) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_SSL_pending) (SSL *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_SSL_peek) (SSL *, void *, int) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_SSL_CTX_set_cipher_list)(SSL_CTX *, const char *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static void (*K_SSL_CTX_set_verify)(SSL_CTX *, int,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int (*)(int, X509_STORE_CTX *)) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_SSL_use_certificate)(SSL *, X509 *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static SSL_CIPHER *(*K_SSL_get_current_cipher)(SSL *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static long (*K_SSL_ctrl) (SSL *,int, long, char *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_RAND_egd) (const char *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static const char* (*K_RAND_file_name) (char *, size_t) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_RAND_load_file) (const char *, long) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_RAND_write_file) (const char *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static SSL_METHOD * (*K_TLSv1_client_method) () = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static SSL_METHOD * (*K_SSLv23_client_method) () = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static X509 * (*K_SSL_get_peer_certificate) (SSL *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_SSL_CIPHER_get_bits) (SSL_CIPHER *,int *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static char * (*K_SSL_CIPHER_get_version) (SSL_CIPHER *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static const char * (*K_SSL_CIPHER_get_name) (SSL_CIPHER *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static char * (*K_SSL_CIPHER_description) (SSL_CIPHER *, char *, int) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static X509 * (*K_d2i_X509) (X509 **,unsigned char **,long) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_i2d_X509) (X509 *,unsigned char **) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_X509_cmp) (X509 *, X509 *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static void (*K_X509_STORE_CTX_free) (X509_STORE_CTX *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_X509_verify_cert) (X509_STORE_CTX *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static X509_STORE_CTX *(*K_X509_STORE_CTX_new) (void) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static void (*K_X509_STORE_free) (X509_STORE *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static X509_STORE *(*K_X509_STORE_new) (void) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static void (*K_X509_free) (X509 *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static char *(*K_X509_NAME_oneline) (X509_NAME *,char *,int) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static X509_NAME *(*K_X509_get_subject_name) (X509 *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static X509_NAME *(*K_X509_get_issuer_name) (X509 *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static X509_LOOKUP *(*K_X509_STORE_add_lookup) (X509_STORE *, X509_LOOKUP_METHOD *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static X509_LOOKUP_METHOD *(*K_X509_LOOKUP_file)(void) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static void (*K_X509_LOOKUP_free)(X509_LOOKUP *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_X509_LOOKUP_ctrl)(X509_LOOKUP *, int, const char *, long, char **) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static void (*K_X509_STORE_CTX_init)(X509_STORE_CTX *, X509_STORE *, X509 *, STACK_OF(X509) *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static void (*K_CRYPTO_free) (void *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static X509* (*K_X509_dup) (X509 *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static BIO_METHOD *(*K_BIO_s_mem) (void) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static BIO* (*K_BIO_new) (BIO_METHOD *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static BIO* (*K_BIO_new_fp) (FILE *, int) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static BIO* (*K_BIO_new_mem_buf) (void *, int) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_BIO_free) (BIO *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static long (*K_BIO_ctrl) (BIO *,int,long,void *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_BIO_write) (BIO *b, const void *data, int len) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_PEM_ASN1_write_bio) (int (*)(),const char *,BIO *,char *,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- const EVP_CIPHER *,unsigned char *,int ,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- pem_password_cb *, void *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_ASN1_item_i2d_fp)(ASN1_ITEM *,FILE *,unsigned char *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static ASN1_ITEM *K_NETSCAPE_X509_it = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_X509_print_fp) (FILE *, X509*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_i2d_PKCS12) (PKCS12*, unsigned char**) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_i2d_PKCS12_fp) (FILE *, PKCS12*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_PKCS12_newpass) (PKCS12*, char*, char*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static PKCS12* (*K_d2i_PKCS12_fp) (FILE*, PKCS12**) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static PKCS12* (*K_PKCS12_new) (void) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static void (*K_PKCS12_free) (PKCS12 *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_PKCS12_parse) (PKCS12*, const char *, EVP_PKEY**,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- X509**, STACK_OF(X509)**) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static void (*K_EVP_PKEY_free) (EVP_PKEY *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static EVP_PKEY* (*K_EVP_PKEY_new) () = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static void (*K_X509_REQ_free) (X509_REQ *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static X509_REQ* (*K_X509_REQ_new) () = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_SSL_CTX_use_PrivateKey) (SSL_CTX*, EVP_PKEY*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_SSL_CTX_use_certificate) (SSL_CTX*, X509*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_SSL_get_error) (SSL*, int) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static STACK_OF(X509)* (*K_SSL_get_peer_cert_chain) (SSL*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static void (*K_X509_STORE_CTX_set_chain) (X509_STORE_CTX *, STACK_OF(X509)*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static void (*K_X509_STORE_CTX_set_purpose) (X509_STORE_CTX *, int) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static void (*K_sk_free) (STACK*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_sk_num) (STACK*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static char* (*K_sk_pop) (STACK*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static char* (*K_sk_value) (STACK*, int) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static STACK* (*K_sk_new) (int (*)()) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_sk_push) (STACK*, char*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static STACK* (*K_sk_dup) (STACK *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static char * (*K_i2s_ASN1_INTEGER) (X509V3_EXT_METHOD *, ASN1_INTEGER *) =0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static ASN1_INTEGER * (*K_X509_get_serialNumber) (X509 *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static EVP_PKEY *(*K_X509_get_pubkey)(X509 *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_i2d_PublicKey)(EVP_PKEY *, unsigned char **) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_X509_check_private_key)(X509 *, EVP_PKEY *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static char * (*K_BN_bn2hex)(const BIGNUM *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_X509_digest)(const X509 *,const EVP_MD *, unsigned char *, unsigned int *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static EVP_MD* (*K_EVP_md5)() = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static void (*K_ASN1_INTEGER_free)(ASN1_INTEGER *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_OBJ_obj2nid)(ASN1_OBJECT *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static const char * (*K_OBJ_nid2ln)(int) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_X509_get_ext_count)(X509*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_X509_get_ext_by_NID)(X509*, int, int) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_X509_get_ext_by_OBJ)(X509*,ASN1_OBJECT*,int) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static X509_EXTENSION *(*K_X509_get_ext)(X509*, int loc) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static X509_EXTENSION *(*K_X509_delete_ext)(X509*, int) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_X509_add_ext)(X509*, X509_EXTENSION*, int) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static void *(*K_X509_get_ext_d2i)(X509*, int, int*, int*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static char *(*K_i2s_ASN1_OCTET_STRING)(X509V3_EXT_METHOD*, ASN1_OCTET_STRING*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_ASN1_BIT_STRING_get_bit)(ASN1_BIT_STRING*, int) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static PKCS7 *(*K_PKCS7_new)() = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static void (*K_PKCS7_free)(PKCS7*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static void (*K_PKCS7_content_free)(PKCS7*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_i2d_PKCS7)(PKCS7*, unsigned char**) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static PKCS7 *(*K_d2i_PKCS7)(PKCS7**, unsigned char**,long) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_i2d_PKCS7_fp)(FILE*,PKCS7*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static PKCS7* (*K_d2i_PKCS7_fp)(FILE*,PKCS7**) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_i2d_PKCS7_bio)(BIO *bp,PKCS7 *p7) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static PKCS7 *(*K_d2i_PKCS7_bio)(BIO *bp,PKCS7 **p7) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static PKCS7* (*K_PKCS7_dup)(PKCS7*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static STACK_OF(X509_NAME) *(*K_SSL_load_client_CA_file)(const char*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static STACK_OF(X509_INFO) *(*K_PEM_X509_INFO_read)(FILE*, STACK_OF(X509_INFO)*, pem_password_cb*, void*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static char *(*K_ASN1_d2i_fp)(char *(*)(),char *(*)(),FILE*,unsigned char**) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static X509 *(*K_X509_new)() = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_X509_PURPOSE_get_count)() = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_X509_PURPOSE_get_id)(X509_PURPOSE *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_X509_check_purpose)(X509*,int,int) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static X509_PURPOSE* (*K_X509_PURPOSE_get0)(int) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_EVP_PKEY_assign)(EVP_PKEY*, int, char*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_X509_REQ_set_pubkey)(X509_REQ*, EVP_PKEY*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static RSA *(*K_RSA_generate_key)(int, unsigned long, void (*)(int,int,void *), void *) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_i2d_X509_REQ_fp)(FILE*, X509_REQ*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static void (*K_ERR_clear_error)() = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static unsigned long (*K_ERR_get_error)() = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static void (*K_ERR_print_errors_fp)(FILE*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static PKCS7 *(*K_PKCS7_sign)(X509*, EVP_PKEY*, STACK_OF(X509)*, BIO*, int) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_PKCS7_verify)(PKCS7*,STACK_OF(X509)*,X509_STORE*,BIO*,BIO*,int) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static STACK_OF(X509) *(*K_PKCS7_get0_signers)(PKCS7 *, STACK_OF(X509) *, int) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static PKCS7 *(*K_PKCS7_encrypt)(STACK_OF(X509) *, BIO *, EVP_CIPHER *, int) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_PKCS7_decrypt)(PKCS7 *, EVP_PKEY *, X509 *, BIO *, int) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static SSL_SESSION* (*K_SSL_get1_session)(SSL*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static void (*K_SSL_SESSION_free)(SSL_SESSION*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_SSL_set_session)(SSL*,SSL_SESSION*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static SSL_SESSION* (*K_d2i_SSL_SESSION)(SSL_SESSION**,unsigned char**, long) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_i2d_SSL_SESSION)(SSL_SESSION*,unsigned char**) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static STACK *(*K_X509_get1_email)(X509 *x) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static void (*K_X509_email_free)(STACK *sk) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static EVP_CIPHER *(*K_EVP_des_ede3_cbc)() = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static EVP_CIPHER *(*K_EVP_des_cbc)() = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static EVP_CIPHER *(*K_EVP_rc2_cbc)() = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static EVP_CIPHER *(*K_EVP_rc2_64_cbc)() = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static EVP_CIPHER *(*K_EVP_rc2_40_cbc)() = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_i2d_PrivateKey_fp)(FILE*,EVP_PKEY*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_i2d_PKCS8PrivateKey_fp)(FILE*, EVP_PKEY*, const EVP_CIPHER*, char*, int, pem_password_cb*, void*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static void (*K_RSA_free)(RSA*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static EVP_CIPHER *(*K_EVP_bf_cbc)() = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_X509_REQ_sign)(X509_REQ*, EVP_PKEY*, const EVP_MD*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_X509_NAME_add_entry_by_txt)(X509_NAME*, char*, int, unsigned char*, int, int, int) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static X509_NAME *(*K_X509_NAME_new)() = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_X509_REQ_set_subject_name)(X509_REQ*,X509_NAME*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static unsigned char *(*K_ASN1_STRING_data)(ASN1_STRING*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static int (*K_ASN1_STRING_length)(ASN1_STRING*) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-static STACK_OF(SSL_CIPHER) *(*K_SSL_get_ciphers)(const SSL *ssl) = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ class KOpenSSLProxyPrivate
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ public:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- KOpenSSLProxyPrivate()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- : sslLib(0), cryptoLib(0), ok(false)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- KLibrary *sslLib;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- KLibrary *cryptoLib;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- bool ok;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- static KOpenSSLProxy *sSelf;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- static void cleanupKOpenSSLProxy() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- delete KOpenSSLProxyPrivate::sSelf;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ KOpenSSLProxyPrivate()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ : ok(true)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ bool ok;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ static KOpenSSLProxy *sSelf;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ static void cleanupKOpenSSLProxy()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ delete KOpenSSLProxyPrivate::sSelf;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ KOpenSSLProxy *KOpenSSLProxyPrivate::sSelf = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-bool KOpenSSLProxy::hasLibSSL() const {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return d->sslLib != 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++bool KOpenSSLProxy::hasLibSSL() const
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return true;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-bool KOpenSSLProxy::hasLibCrypto() const {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return d->cryptoLib != 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++bool KOpenSSLProxy::hasLibCrypto() const
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return true;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-void KOpenSSLProxy::destroy() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- KOpenSSLProxy *x = KOpenSSLProxyPrivate::sSelf;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- KOpenSSLProxyPrivate::sSelf = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- delete x;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void KOpenSSLProxy::destroy()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ KOpenSSLProxy *x = KOpenSSLProxyPrivate::sSelf;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ KOpenSSLProxyPrivate::sSelf = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ delete x;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef __OpenBSD__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -244,1347 +73,842 @@ void KOpenSSLProxy::destroy() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static QString findMostRecentLib(QString dir, QString name)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- // Grab all shared libraries in the directory
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- QString filter = "lib"+name+".so.*";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- QDir d(dir, filter);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (!d.exists())
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- QStringList l = d.entryList();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- // Find the best one
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int bestmaj = -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int bestmin = -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- QString best = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- // where do we start
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- uint s = filter.length()-1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- for (QStringList::const_iterator it = l.begin(); it != l.end(); ++it) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- QString numberpart = (*it).mid(s);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- uint endmaj = numberpart.indexOf('.');
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (endmaj == -1)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- continue;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- bool ok;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int maj = numberpart.left(endmaj).toInt(&ok);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (!ok)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- continue;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int min = numberpart.mid(endmaj+1).toInt(&ok);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (!ok)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- continue;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (maj > bestmaj || (maj == bestmaj && min > bestmin)) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- bestmaj = maj;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- bestmin = min;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- best = (*it);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (best.isNull())
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return dir+'/'+best;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ // Grab all shared libraries in the directory
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ QString filter = "lib" + name + ".so.*";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ QDir d(dir, filter);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (!d.exists()) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ QStringList l = d.entryList();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ // Find the best one
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int bestmaj = -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int bestmin = -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ QString best = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ // where do we start
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ uint s = filter.length() - 1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ for (QStringList::const_iterator it = l.begin(); it != l.end(); ++it) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ QString numberpart = (*it).mid(s);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ uint endmaj = numberpart.indexOf('.');
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (endmaj == -1) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ continue;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ bool ok;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int maj = numberpart.left(endmaj).toInt(&ok);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (!ok) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ continue;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int min = numberpart.mid(endmaj + 1).toInt(&ok);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (!ok) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ continue;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (maj > bestmaj || (maj == bestmaj && min > bestmin)) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ bestmaj = maj;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ bestmin = min;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ best = (*it);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (best.isNull()) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return dir + '/' + best;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ KOpenSSLProxy::KOpenSSLProxy()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ : d(new KOpenSSLProxyPrivate())
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- QStringList libpaths, libnamesc, libnamess;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->cryptoLib = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->sslLib = 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- KConfig cfg("cryptodefaults", KConfig::NoGlobals );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- KConfigGroup cg(&cfg, "OpenSSL");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- QString upath = cg.readPathEntry("Path", QString());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (!upath.isEmpty())
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- libpaths << upath;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef Q_OS_WIN
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->cryptoLib = new KLibrary("libeay32.dll");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (!d->cryptoLib->load()) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- delete d->cryptoLib;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->cryptoLib = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#elif defined(__OpenBSD__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- QString libname = findMostRecentLib("/usr/lib" KDELIBSUFF, "crypto");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (!libname.isNull()) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->cryptoLib = new KLibrary(libname);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->cryptoLib->setLoadHints(QLibrary::ExportExternalSymbolsHint);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (!d->cryptoLib->load()) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- delete d->cryptoLib;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->cryptoLib = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#elif defined(__CYGWIN__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- libpaths << "/usr/bin/"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- libnamess << "cygssl-0.9.8.dll"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "cygssl-0.9.7.dll"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- libnamesc << "cygcrypto-0.9.8.dll"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "cygcrypto-0.9.7.dll"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- libpaths
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- #ifdef _AIX
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "/opt/freeware/lib/"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "/usr/lib" KDELIBSUFF "/"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "/usr/ssl/lib" KDELIBSUFF "/"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "/usr/local/lib" KDELIBSUFF "/"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "/usr/local/openssl/lib" KDELIBSUFF "/"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "/usr/local/ssl/lib" KDELIBSUFF "/"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "/opt/openssl/lib" KDELIBSUFF "/"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "/lib" KDELIBSUFF "/"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-// FIXME: #define here for the various OS types to optimize
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- libnamess
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- #ifdef hpux
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "libssl.sl"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- #elif defined(_AIX)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "libssl.a(libssl.so.0)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- #elif defined(__APPLE__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "libssl.dylib"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "libssl.0.9.dylib"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- #ifdef SHLIB_VERSION_NUMBER
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "libssl.so." SHLIB_VERSION_NUMBER
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "libssl.so"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "libssl.so.0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- libnamesc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- #ifdef hpux
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "libcrypto.sl"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- #elif defined(_AIX)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "libcrypto.a(libcrypto.so.0)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- #elif defined(__APPLE__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "libcrypto.dylib"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "libcrypto.0.9.dylib"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- #ifdef SHLIB_VERSION_NUMBER
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "libcrypto.so." SHLIB_VERSION_NUMBER
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "libcrypto.so"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- << "libcrypto.so.0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- for (QStringList::const_iterator it = libpaths.constBegin();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- it != libpaths.constEnd();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ++it) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- for (QStringList::const_iterator shit = libnamesc.constBegin();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- shit != libnamesc.constEnd();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ++shit) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- QString alib = *it;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (!alib.isEmpty() && !alib.endsWith('/'))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- alib += '/';
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- alib += *shit;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- // someone knows why this is needed?
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- QString tmpStr(alib.toLatin1().constData());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- tmpStr.remove(QRegExp("\\(.*\\)"));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (!access(tmpStr.toLatin1(), R_OK)) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->cryptoLib = new KLibrary(alib);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->cryptoLib->setLoadHints(QLibrary::ExportExternalSymbolsHint);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (d->cryptoLib && d->cryptoLib->load()) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- delete d->cryptoLib;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->cryptoLib = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (d->cryptoLib) break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (d->cryptoLib) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef KSSL_HAVE_SSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_free = (void (*) (X509 *)) d->cryptoLib->resolveFunction("X509_free");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_RAND_egd = (int (*)(const char *)) d->cryptoLib->resolveFunction("RAND_egd");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_RAND_load_file = (int (*)(const char *, long)) d->cryptoLib->resolveFunction("RAND_load_file");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_RAND_file_name = (const char* (*)(char *, size_t)) d->cryptoLib->resolveFunction("RAND_file_name");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_RAND_write_file = (int (*)(const char *)) d->cryptoLib->resolveFunction("RAND_write_file");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_CRYPTO_free = (void (*) (void *)) d->cryptoLib->resolveFunction("CRYPTO_free");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_d2i_X509 = (X509 * (*)(X509 **,unsigned char **,long)) d->cryptoLib->resolveFunction("d2i_X509");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_i2d_X509 = (int (*)(X509 *,unsigned char **)) d->cryptoLib->resolveFunction("i2d_X509");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_cmp = (int (*)(X509 *, X509 *)) d->cryptoLib->resolveFunction("X509_cmp");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_STORE_CTX_new = (X509_STORE_CTX * (*) (void)) d->cryptoLib->resolveFunction("X509_STORE_CTX_new");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_STORE_CTX_free = (void (*) (X509_STORE_CTX *)) d->cryptoLib->resolveFunction("X509_STORE_CTX_free");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_verify_cert = (int (*) (X509_STORE_CTX *)) d->cryptoLib->resolveFunction("X509_verify_cert");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_STORE_new = (X509_STORE * (*) (void)) d->cryptoLib->resolveFunction("X509_STORE_new");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_STORE_free = (void (*) (X509_STORE *)) d->cryptoLib->resolveFunction("X509_STORE_free");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_NAME_oneline = (char * (*) (X509_NAME *,char *,int)) d->cryptoLib->resolveFunction("X509_NAME_oneline");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_get_subject_name = (X509_NAME * (*) (X509 *)) d->cryptoLib->resolveFunction("X509_get_subject_name");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_get_issuer_name = (X509_NAME * (*) (X509 *)) d->cryptoLib->resolveFunction("X509_get_issuer_name");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_STORE_add_lookup = (X509_LOOKUP *(*) (X509_STORE *, X509_LOOKUP_METHOD *)) d->cryptoLib->resolveFunction("X509_STORE_add_lookup");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_LOOKUP_file = (X509_LOOKUP_METHOD *(*)(void)) d->cryptoLib->resolveFunction("X509_LOOKUP_file");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_LOOKUP_free = (void (*)(X509_LOOKUP *)) d->cryptoLib->resolveFunction("X509_LOOKUP_free");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_LOOKUP_ctrl = (int (*)(X509_LOOKUP *, int, const char *, long, char **)) d->cryptoLib->resolveFunction("X509_LOOKUP_ctrl");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_STORE_CTX_init = (void (*)(X509_STORE_CTX *, X509_STORE *, X509 *, STACK_OF(X509) *)) d->cryptoLib->resolveFunction("X509_STORE_CTX_init");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_dup = (X509* (*)(X509*)) d->cryptoLib->resolveFunction("X509_dup");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_BIO_s_mem = (BIO_METHOD *(*) (void)) d->cryptoLib->resolveFunction("BIO_s_mem");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_BIO_new = (BIO* (*)(BIO_METHOD *)) d->cryptoLib->resolveFunction("BIO_new");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_BIO_new_fp = (BIO* (*)(FILE*, int)) d->cryptoLib->resolveFunction("BIO_new_fp");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_BIO_new_mem_buf = (BIO* (*)(void *, int)) d->cryptoLib->resolveFunction("BIO_new_mem_buf");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_BIO_free = (int (*)(BIO*)) d->cryptoLib->resolveFunction("BIO_free");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_BIO_ctrl = (long (*) (BIO *,int,long,void *)) d->cryptoLib->resolveFunction("BIO_ctrl");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_BIO_write = (int (*) (BIO *b, const void *data, int len)) d->cryptoLib->resolveFunction("BIO_write");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_PEM_ASN1_write_bio = (int (*)(int (*)(), const char *,BIO*, char*, const EVP_CIPHER *, unsigned char *, int, pem_password_cb *, void *)) d->cryptoLib->resolveFunction("PEM_ASN1_write_bio");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_ASN1_item_i2d_fp = (int (*)(ASN1_ITEM *, FILE*, unsigned char *))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->cryptoLib->resolveFunction("ASN1_item_i2d_fp");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_NETSCAPE_X509_it = (ASN1_ITEM *) d->cryptoLib->resolveFunction("NETSCAPE_X509_it");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_print_fp = (int (*)(FILE*, X509*)) d->cryptoLib->resolveFunction("X509_print_fp");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_i2d_PKCS12 = (int (*)(PKCS12*, unsigned char**)) d->cryptoLib->resolveFunction("i2d_PKCS12");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_i2d_PKCS12_fp = (int (*)(FILE *, PKCS12*)) d->cryptoLib->resolveFunction("i2d_PKCS12_fp");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_PKCS12_newpass = (int (*)(PKCS12*, char*, char*)) d->cryptoLib->resolveFunction("PKCS12_newpass");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_d2i_PKCS12_fp = (PKCS12* (*)(FILE*, PKCS12**)) d->cryptoLib->resolveFunction("d2i_PKCS12_fp");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_PKCS12_new = (PKCS12* (*)()) d->cryptoLib->resolveFunction("PKCS12_new");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_PKCS12_free = (void (*)(PKCS12 *)) d->cryptoLib->resolveFunction("PKCS12_free");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_PKCS12_parse = (int (*)(PKCS12*, const char *, EVP_PKEY**,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- X509**, STACK_OF(X509)**)) d->cryptoLib->resolveFunction("PKCS12_parse");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_EVP_PKEY_free = (void (*) (EVP_PKEY *)) d->cryptoLib->resolveFunction("EVP_PKEY_free");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_EVP_PKEY_new = (EVP_PKEY* (*)()) d->cryptoLib->resolveFunction("EVP_PKEY_new");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_REQ_free = (void (*)(X509_REQ*)) d->cryptoLib->resolveFunction("X509_REQ_free");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_REQ_new = (X509_REQ* (*)()) d->cryptoLib->resolveFunction("X509_REQ_new");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_STORE_CTX_set_chain = (void (*)(X509_STORE_CTX *, STACK_OF(X509)*)) d->cryptoLib->resolveFunction("X509_STORE_CTX_set_chain");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_STORE_CTX_set_purpose = (void (*)(X509_STORE_CTX *, int)) d->cryptoLib->resolveFunction("X509_STORE_CTX_set_purpose");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_sk_free = (void (*) (STACK *)) d->cryptoLib->resolveFunction("sk_free");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_sk_num = (int (*) (STACK *)) d->cryptoLib->resolveFunction("sk_num");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_sk_pop = (char* (*) (STACK *)) d->cryptoLib->resolveFunction("sk_pop");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_sk_value = (char* (*) (STACK *, int)) d->cryptoLib->resolveFunction("sk_value");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_sk_new = (STACK* (*) (int (*)())) d->cryptoLib->resolveFunction("sk_new");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_sk_push = (int (*) (STACK*, char*)) d->cryptoLib->resolveFunction("sk_push");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_sk_dup = (STACK* (*) (STACK *)) d->cryptoLib->resolveFunction("sk_dup");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_i2s_ASN1_INTEGER = (char *(*) (X509V3_EXT_METHOD *, ASN1_INTEGER *)) d->cryptoLib->resolveFunction("i2s_ASN1_INTEGER");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_get_serialNumber = (ASN1_INTEGER * (*) (X509 *)) d->cryptoLib->resolveFunction("X509_get_serialNumber");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_get_pubkey = (EVP_PKEY *(*)(X509 *)) d->cryptoLib->resolveFunction("X509_get_pubkey");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_i2d_PublicKey = (int (*)(EVP_PKEY *, unsigned char **)) d->cryptoLib->resolveFunction("i2d_PublicKey");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_check_private_key = (int (*)(X509 *, EVP_PKEY *)) d->cryptoLib->resolveFunction("X509_check_private_key");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_BN_bn2hex = (char *(*)(const BIGNUM *)) d->cryptoLib->resolveFunction("BN_bn2hex");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_digest = (int (*)(const X509 *,const EVP_MD *, unsigned char *, unsigned int *)) d->cryptoLib->resolveFunction("X509_digest");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_EVP_md5 = (EVP_MD *(*)()) d->cryptoLib->resolveFunction("EVP_md5");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_ASN1_INTEGER_free = (void (*)(ASN1_INTEGER *)) d->cryptoLib->resolveFunction("ASN1_INTEGER_free");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_OBJ_obj2nid = (int (*)(ASN1_OBJECT *)) d->cryptoLib->resolveFunction("OBJ_obj2nid");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_OBJ_nid2ln = (const char *(*)(int)) d->cryptoLib->resolveFunction("OBJ_nid2ln");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_get_ext_count = (int (*)(X509*)) d->cryptoLib->resolveFunction("X509_get_ext_count");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_get_ext_by_NID = (int (*)(X509*,int,int)) d->cryptoLib->resolveFunction("X509_get_ext_by_NID");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_get_ext_by_OBJ = (int (*)(X509*,ASN1_OBJECT*,int)) d->cryptoLib->resolveFunction("X509_get_ext_by_OBJ");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_get_ext = (X509_EXTENSION* (*)(X509*,int)) d->cryptoLib->resolveFunction("X509_get_ext");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_delete_ext = (X509_EXTENSION* (*)(X509*,int)) d->cryptoLib->resolveFunction("X509_delete_ext");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_add_ext = (int (*)(X509*,X509_EXTENSION*,int)) d->cryptoLib->resolveFunction("X509_add_ext");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_get_ext_d2i = (void* (*)(X509*,int,int*,int*)) d->cryptoLib->resolveFunction("X509_get_ext_d2i");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_i2s_ASN1_OCTET_STRING = (char *(*)(X509V3_EXT_METHOD*,ASN1_OCTET_STRING*)) d->cryptoLib->resolveFunction("i2s_ASN1_OCTET_STRING");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_ASN1_BIT_STRING_get_bit = (int (*)(ASN1_BIT_STRING*,int)) d->cryptoLib->resolveFunction("ASN1_BIT_STRING_get_bit");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_PKCS7_new = (PKCS7 *(*)()) d->cryptoLib->resolveFunction("PKCS7_new");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_PKCS7_free = (void (*)(PKCS7*)) d->cryptoLib->resolveFunction("PKCS7_free");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_PKCS7_content_free = (void (*)(PKCS7*)) d->cryptoLib->resolveFunction("PKCS7_content_free");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_i2d_PKCS7 = (int (*)(PKCS7*, unsigned char**)) d->cryptoLib->resolveFunction("i2d_PKCS7");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_i2d_PKCS7_fp = (int (*)(FILE*,PKCS7*)) d->cryptoLib->resolveFunction("i2d_PKCS7_fp");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_i2d_PKCS7_bio = (int (*)(BIO *bp,PKCS7 *p7)) d->cryptoLib->resolveFunction("i2d_PKCS7_bio");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_d2i_PKCS7 = (PKCS7* (*)(PKCS7**,unsigned char**,long)) d->cryptoLib->resolveFunction("d2i_PKCS7");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_d2i_PKCS7_fp = (PKCS7 *(*)(FILE *,PKCS7**)) d->cryptoLib->resolveFunction("d2i_PKCS7_fp");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_d2i_PKCS7_bio = (PKCS7 *(*)(BIO *bp,PKCS7 **p7)) d->cryptoLib->resolveFunction("d2i_PKCS7_bio");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_PKCS7_dup = (PKCS7* (*)(PKCS7*)) d->cryptoLib->resolveFunction("PKCS7_dup");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_PKCS7_sign = (PKCS7 *(*)(X509*, EVP_PKEY*, STACK_OF(X509)*, BIO*, int)) d->cryptoLib->resolveFunction("PKCS7_sign");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_PKCS7_verify = (int (*)(PKCS7*,STACK_OF(X509)*,X509_STORE*,BIO*,BIO*,int)) d->cryptoLib->resolveFunction("PKCS7_verify");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_PKCS7_get0_signers = (STACK_OF(X509) *(*)(PKCS7 *, STACK_OF(X509) *, int)) d->cryptoLib->resolveFunction("PKCS7_get0_signers");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_PKCS7_encrypt = (PKCS7* (*)(STACK_OF(X509) *, BIO *, EVP_CIPHER *, int)) d->cryptoLib->resolveFunction("PKCS7_encrypt");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_PKCS7_decrypt = (int (*)(PKCS7 *, EVP_PKEY *, X509 *, BIO *, int)) d->cryptoLib->resolveFunction("PKCS7_decrypt");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_PEM_X509_INFO_read = (STACK_OF(X509_INFO) *(*)(FILE*, STACK_OF(X509_INFO)*, pem_password_cb*, void *)) d->cryptoLib->resolveFunction("PEM_X509_INFO_read");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_ASN1_d2i_fp = (char *(*)(char *(*)(),char *(*)(),FILE*,unsigned char**)) d->cryptoLib->resolveFunction("ASN1_d2i_fp");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_new = (X509 *(*)()) d->cryptoLib->resolveFunction("X509_new");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_PURPOSE_get_count = (int (*)()) d->cryptoLib->resolveFunction("X509_PURPOSE_get_count");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_PURPOSE_get_id = (int (*)(X509_PURPOSE *)) d->cryptoLib->resolveFunction("X509_PURPOSE_get_id");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_check_purpose = (int (*)(X509*,int,int)) d->cryptoLib->resolveFunction("X509_check_purpose");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_PURPOSE_get0 = (X509_PURPOSE *(*)(int)) d->cryptoLib->resolveFunction("X509_PURPOSE_get0");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_EVP_PKEY_assign = (int (*)(EVP_PKEY*, int, char*)) d->cryptoLib->resolveFunction("EVP_PKEY_assign");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_REQ_set_pubkey = (int (*)(X509_REQ*, EVP_PKEY*)) d->cryptoLib->resolveFunction("X509_REQ_set_pubkey");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_RSA_generate_key = (RSA* (*)(int, unsigned long, void (*)(int,int,void *), void *)) d->cryptoLib->resolveFunction("RSA_generate_key");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_i2d_X509_REQ_fp = (int (*)(FILE *, X509_REQ *)) d->cryptoLib->resolveFunction("i2d_X509_REQ_fp");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_ERR_clear_error = (void (*)()) d->cryptoLib->resolveFunction("ERR_clear_error");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_ERR_get_error = (unsigned long (*)()) d->cryptoLib->resolveFunction("ERR_get_error");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_ERR_print_errors_fp = (void (*)(FILE*)) d->cryptoLib->resolveFunction("ERR_print_errors_fp");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_get1_email = (STACK *(*)(X509 *x)) d->cryptoLib->resolveFunction("X509_get1_email");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_email_free = (void (*)(STACK *sk)) d->cryptoLib->resolveFunction("X509_email_free");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_EVP_des_ede3_cbc = (EVP_CIPHER *(*)()) d->cryptoLib->resolveFunction("EVP_des_ede3_cbc");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_EVP_des_cbc = (EVP_CIPHER *(*)()) d->cryptoLib->resolveFunction("EVP_des_cbc");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_EVP_rc2_cbc = (EVP_CIPHER *(*)()) d->cryptoLib->resolveFunction("EVP_rc2_cbc");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_EVP_rc2_64_cbc = (EVP_CIPHER *(*)()) d->cryptoLib->resolveFunction("EVP_rc2_64_cbc");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_EVP_rc2_40_cbc = (EVP_CIPHER *(*)()) d->cryptoLib->resolveFunction("EVP_rc2_40_cbc");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_i2d_PrivateKey_fp = (int (*)(FILE*,EVP_PKEY*)) d->cryptoLib->resolveFunction("i2d_PrivateKey_fp");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_i2d_PKCS8PrivateKey_fp = (int (*)(FILE*, EVP_PKEY*, const EVP_CIPHER*, char*, int, pem_password_cb*, void*)) d->cryptoLib->resolveFunction("i2d_PKCS8PrivateKey_fp");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_RSA_free = (void (*)(RSA*)) d->cryptoLib->resolveFunction("RSA_free");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_EVP_bf_cbc = (EVP_CIPHER *(*)()) d->cryptoLib->resolveFunction("EVP_bf_cbc");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_REQ_sign = (int (*)(X509_REQ*, EVP_PKEY*, const EVP_MD*)) d->cryptoLib->resolveFunction("X509_REQ_sign");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_NAME_add_entry_by_txt = (int (*)(X509_NAME*, char*, int, unsigned char*, int, int, int)) d->cryptoLib->resolveFunction("X509_NAME_add_entry_by_txt");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_NAME_new = (X509_NAME *(*)()) d->cryptoLib->resolveFunction("X509_NAME_new");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_X509_REQ_set_subject_name = (int (*)(X509_REQ*,X509_NAME*)) d->cryptoLib->resolveFunction("X509_REQ_set_subject_name");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_ASN1_STRING_data = (unsigned char *(*)(ASN1_STRING*)) d->cryptoLib->resolveFunction("ASN1_STRING_data");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_ASN1_STRING_length = (int (*)(ASN1_STRING*)) d->cryptoLib->resolveFunction("ASN1_STRING_length");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef Q_OS_WIN
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->sslLib = new KLibrary("ssleay32.dll");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (!d->sslLib->load()) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- delete d->sslLib;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->sslLib = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#elif defined(__OpenBSD__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- QString libname = findMostRecentLib("/usr/lib", "ssl");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (!libname.isNull()) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->sslLib = new KLibrary(libname);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->sslLib->setLoadHints(QLibrary::ExportExternalSymbolsHint);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (!d->sslLib->load()) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- delete d->sslLib;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->sslLib = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- for (QStringList::const_iterator it = libpaths.constBegin();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- it != libpaths.constEnd();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ++it) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- for (QStringList::const_iterator shit = libnamess.constBegin();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- shit != libnamess.constEnd();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ++shit) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- QString alib = *it;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (!alib.isEmpty() && !alib.endsWith('/'))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- alib += '/';
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- alib += *shit;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- QString tmpStr(alib.toLatin1());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- tmpStr.remove(QRegExp("\\(.*\\)"));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (!access(tmpStr.toLatin1(), R_OK)) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->sslLib = new KLibrary(alib);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->sslLib->setLoadHints(QLibrary::ExportExternalSymbolsHint);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (d->sslLib && d->sslLib->load()) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- delete d->sslLib;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->sslLib = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (d->sslLib) break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (d->sslLib) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef KSSL_HAVE_SSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- // stand back from your monitor and look at this. it's fun! :)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_connect = (int (*)(SSL *)) d->sslLib->resolveFunction("SSL_connect");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_accept = (int (*)(SSL *)) d->sslLib->resolveFunction("SSL_accept");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_read = (int (*)(SSL *, void *, int)) d->sslLib->resolveFunction("SSL_read");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_write = (int (*)(SSL *, const void *, int))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->sslLib->resolveFunction("SSL_write");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_new = (SSL* (*)(SSL_CTX *)) d->sslLib->resolveFunction("SSL_new");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_free = (void (*)(SSL *)) d->sslLib->resolveFunction("SSL_free");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_shutdown = (int (*)(SSL *)) d->sslLib->resolveFunction("SSL_shutdown");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_CTX_new = (SSL_CTX* (*)(SSL_METHOD*)) d->sslLib->resolveFunction("SSL_CTX_new");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_CTX_free = (void (*)(SSL_CTX*)) d->sslLib->resolveFunction("SSL_CTX_free");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_set_fd = (int (*)(SSL *, int)) d->sslLib->resolveFunction("SSL_set_fd");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_pending = (int (*)(SSL *)) d->sslLib->resolveFunction("SSL_pending");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_CTX_set_cipher_list = (int (*)(SSL_CTX *, const char *))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->sslLib->resolveFunction("SSL_CTX_set_cipher_list");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_CTX_set_verify = (void (*)(SSL_CTX*, int, int (*)(int, X509_STORE_CTX*))) d->sslLib->resolveFunction("SSL_CTX_set_verify");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_use_certificate = (int (*)(SSL*, X509*))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->sslLib->resolveFunction("SSL_CTX_use_certificate");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_get_current_cipher = (SSL_CIPHER *(*)(SSL *))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->sslLib->resolveFunction("SSL_get_current_cipher");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_ctrl = (long (*)(SSL * ,int, long, char *))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->sslLib->resolveFunction("SSL_ctrl");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_TLSv1_client_method = (SSL_METHOD *(*)()) d->sslLib->resolveFunction("TLSv1_client_method");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSLv23_client_method = (SSL_METHOD *(*)()) d->sslLib->resolveFunction("SSLv23_client_method");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_get_peer_certificate = (X509 *(*)(SSL *)) d->sslLib->resolveFunction("SSL_get_peer_certificate");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_CIPHER_get_bits = (int (*)(SSL_CIPHER *,int *)) d->sslLib->resolveFunction("SSL_CIPHER_get_bits");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_CIPHER_get_version = (char * (*)(SSL_CIPHER *)) d->sslLib->resolveFunction("SSL_CIPHER_get_version");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_CIPHER_get_name = (const char * (*)(SSL_CIPHER *)) d->sslLib->resolveFunction("SSL_CIPHER_get_name");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_CIPHER_description = (char * (*)(SSL_CIPHER *, char *, int)) d->sslLib->resolveFunction("SSL_CIPHER_description");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_CTX_use_PrivateKey = (int (*)(SSL_CTX*, EVP_PKEY*)) d->sslLib->resolveFunction("SSL_CTX_use_PrivateKey");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_CTX_use_certificate = (int (*)(SSL_CTX*, X509*)) d->sslLib->resolveFunction("SSL_CTX_use_certificate");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_get_error = (int (*)(SSL*, int)) d->sslLib->resolveFunction("SSL_get_error");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_get_peer_cert_chain = (STACK_OF(X509)* (*)(SSL*)) d->sslLib->resolveFunction("SSL_get_peer_cert_chain");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_load_client_CA_file = (STACK_OF(X509_NAME)* (*)(const char *)) d->sslLib->resolveFunction("SSL_load_client_CA_file");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_peek = (int (*)(SSL*,void*,int)) d->sslLib->resolveFunction("SSL_peek");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_get1_session = (SSL_SESSION* (*)(SSL*)) d->sslLib->resolveFunction("SSL_get1_session");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_SESSION_free = (void (*)(SSL_SESSION*)) d->sslLib->resolveFunction("SSL_SESSION_free");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_set_session = (int (*)(SSL*,SSL_SESSION*)) d->sslLib->resolveFunction("SSL_set_session");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_d2i_SSL_SESSION = (SSL_SESSION* (*)(SSL_SESSION**,unsigned char**, long)) d->sslLib->resolveFunction("d2i_SSL_SESSION");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_i2d_SSL_SESSION = (int (*)(SSL_SESSION*,unsigned char**)) d->sslLib->resolveFunction("i2d_SSL_SESSION");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- K_SSL_get_ciphers = (STACK_OF(SSL_CIPHER) *(*)(const SSL*)) d->sslLib->resolveFunction("SSL_get_ciphers");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- // Initialize the library (once only!)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- KLibrary::void_function_ptr x;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- x = d->sslLib->resolveFunction("SSL_library_init");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (d->cryptoLib) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (x) ((int (*)())x)();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- x = d->cryptoLib->resolveFunction("OpenSSL_add_all_algorithms");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (!x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- x = d->cryptoLib->resolveFunction("OPENSSL_add_all_algorithms");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (x) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ((void (*)())x)();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- x = d->cryptoLib->resolveFunction("OpenSSL_add_all_algorithms_conf");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (!x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- x = d->cryptoLib->resolveFunction("OPENSSL_add_all_algorithms_conf");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (x) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ((void (*)())x)();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- x = d->cryptoLib->resolveFunction("OpenSSL_add_all_algorithms_noconf");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (!x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- x = d->cryptoLib->resolveFunction("OPENSSL_add_all_algorithms_noconf");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ((void (*)())x)();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- x = d->cryptoLib->resolveFunction("OpenSSL_add_all_ciphers");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (!x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- x = d->cryptoLib->resolveFunction("OPENSSL_add_all_ciphers");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (x) ((void (*)())x)();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- x = d->cryptoLib->resolveFunction("OpenSSL_add_all_digests");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (!x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- x = d->cryptoLib->resolveFunction("OPENSSL_add_all_digests");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (x) ((void (*)())x)();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-KOpenSSLProxy::~KOpenSSLProxy() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (d->sslLib) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->sslLib->unload();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (d->cryptoLib) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->cryptoLib->unload();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- KOpenSSLProxyPrivate::sSelf = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- delete d;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++KOpenSSLProxy::~KOpenSSLProxy()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ KOpenSSLProxyPrivate::sSelf = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ delete d;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // FIXME: we should check "ok" and allow this to init the lib if !ok.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-KOpenSSLProxy *KOpenSSLProxy::self() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef KSSL_HAVE_SSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if(!KOpenSSLProxyPrivate::sSelf) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- KOpenSSLProxyPrivate::sSelf = new KOpenSSLProxy();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- qAddPostRoutine(KOpenSSLProxyPrivate::cleanupKOpenSSLProxy);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++KOpenSSLProxy *KOpenSSLProxy::self()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if KSSL_HAVE_SSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (!KOpenSSLProxyPrivate::sSelf) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ KOpenSSLProxyPrivate::sSelf = new KOpenSSLProxy();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ qAddPostRoutine(KOpenSSLProxyPrivate::cleanupKOpenSSLProxy);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return KOpenSSLProxyPrivate::sSelf;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return KOpenSSLProxyPrivate::sSelf;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if KSSL_HAVE_SSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef KSSL_HAVE_SSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::SSL_connect(SSL *ssl) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_connect) return (K_SSL_connect)(ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::SSL_connect(SSL *ssl)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_connect(ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::SSL_accept(SSL *ssl) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_accept) return (K_SSL_accept)(ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::SSL_accept(SSL *ssl)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_accept(ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::SSL_read(SSL *ssl, void *buf, int num) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_read) return (K_SSL_read)(ssl, buf, num);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::SSL_read(SSL *ssl, void *buf, int num)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_read(ssl, buf, num);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::SSL_write(SSL *ssl, const void *buf, int num) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_write) return (K_SSL_write)(ssl, buf, num);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::SSL_write(SSL *ssl, const void *buf, int num)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_write(ssl, buf, num);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-SSL *KOpenSSLProxy::SSL_new(SSL_CTX *ctx) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_new) return (K_SSL_new)(ctx);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++SSL *KOpenSSLProxy::SSL_new(SSL_CTX *ctx)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_new(ctx);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-void KOpenSSLProxy::SSL_free(SSL *ssl) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_free) (K_SSL_free)(ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void KOpenSSLProxy::SSL_free(SSL *ssl)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_free(ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::SSL_shutdown(SSL *ssl) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_shutdown) return (K_SSL_shutdown)(ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::SSL_shutdown(SSL *ssl)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_shutdown(ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-SSL_CTX *KOpenSSLProxy::SSL_CTX_new(SSL_METHOD *method) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_CTX_new) return (K_SSL_CTX_new)(method);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++SSL_CTX *KOpenSSLProxy::SSL_CTX_new(const SSL_METHOD *method)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_CTX_new(method);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-void KOpenSSLProxy::SSL_CTX_free(SSL_CTX *ctx) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_CTX_free) (K_SSL_CTX_free)(ctx);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void KOpenSSLProxy::SSL_CTX_free(SSL_CTX *ctx)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_CTX_free(ctx);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::SSL_set_fd(SSL *ssl, int fd) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_set_fd) return (K_SSL_set_fd)(ssl, fd);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::SSL_set_fd(SSL *ssl, int fd)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_set_fd(ssl, fd);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::SSL_pending(SSL *ssl) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_pending) return (K_SSL_pending)(ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::SSL_pending(SSL *ssl)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_pending(ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::SSL_CTX_set_cipher_list(SSL_CTX *ctx, const char *str) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_CTX_set_cipher_list) return (K_SSL_CTX_set_cipher_list)(ctx, str);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::SSL_CTX_set_cipher_list(SSL_CTX *ctx, const char *str)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_CTX_set_cipher_list(ctx, str);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void KOpenSSLProxy::SSL_CTX_set_verify(SSL_CTX *ctx, int mode,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int (*verify_callback)(int, X509_STORE_CTX *)) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_CTX_set_verify) (K_SSL_CTX_set_verify)(ctx, mode, verify_callback);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::SSL_use_certificate(SSL *ssl, X509 *x) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_use_certificate) return (K_SSL_use_certificate)(ssl, x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int (*verify_callback)(int, X509_STORE_CTX *))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ::SSL_CTX_set_verify(ctx, mode, verify_callback);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-SSL_CIPHER *KOpenSSLProxy::SSL_get_current_cipher(SSL *ssl) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_get_current_cipher) return (K_SSL_get_current_cipher)(ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::SSL_use_certificate(SSL *ssl, X509 *x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_use_certificate(ssl, x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-long KOpenSSLProxy::SSL_ctrl(SSL *ssl,int cmd, long larg, char *parg) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_ctrl) return (K_SSL_ctrl)(ssl, cmd, larg, parg);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++const SSL_CIPHER *KOpenSSLProxy::SSL_get_current_cipher(SSL *ssl)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_get_current_cipher(ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::RAND_egd(const char *path) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_RAND_egd) return (K_RAND_egd)(path);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++long KOpenSSLProxy::SSL_ctrl(SSL *ssl, int cmd, long larg, char *parg)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_ctrl(ssl, cmd, larg, parg);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-SSL_METHOD *KOpenSSLProxy::TLSv1_client_method() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_TLSv1_client_method) return (K_TLSv1_client_method)();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::RAND_egd(const char *path)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef OPENSSL_NO_EGD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::RAND_egd(path);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-SSL_METHOD *KOpenSSLProxy::SSLv23_client_method() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSLv23_client_method) return (K_SSLv23_client_method)();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++const SSL_METHOD *KOpenSSLProxy::TLSv1_client_method()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::TLSv1_client_method();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-X509 *KOpenSSLProxy::SSL_get_peer_certificate(SSL *s) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_get_peer_certificate) return (K_SSL_get_peer_certificate)(s);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++const SSL_METHOD *KOpenSSLProxy::SSLv23_client_method()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSLv23_client_method();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::SSL_CIPHER_get_bits(SSL_CIPHER *c,int *alg_bits) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_CIPHER_get_bits) return (K_SSL_CIPHER_get_bits)(c, alg_bits);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++X509 *KOpenSSLProxy::SSL_get_peer_certificate(SSL *s)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_get_peer_certificate(s);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-char * KOpenSSLProxy::SSL_CIPHER_get_version(SSL_CIPHER *c) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_CIPHER_get_version) return (K_SSL_CIPHER_get_version)(c);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::SSL_CIPHER_get_bits(SSL_CIPHER *c, int *alg_bits)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_CIPHER_get_bits(c, alg_bits);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-const char * KOpenSSLProxy::SSL_CIPHER_get_name(SSL_CIPHER *c) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_CIPHER_get_name) return (K_SSL_CIPHER_get_name)(c);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++const char *KOpenSSLProxy::SSL_CIPHER_get_version(SSL_CIPHER *c)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_CIPHER_get_version(c);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-char * KOpenSSLProxy::SSL_CIPHER_description(SSL_CIPHER *c,char *buf,int size) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_CIPHER_description) return (K_SSL_CIPHER_description)(c,buf,size);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++const char *KOpenSSLProxy::SSL_CIPHER_get_name(SSL_CIPHER *c)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_CIPHER_get_name(c);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-X509 * KOpenSSLProxy::d2i_X509(X509 **a,unsigned char **pp,long length) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_d2i_X509) return (K_d2i_X509)(a,pp,length);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++char *KOpenSSLProxy::SSL_CIPHER_description(SSL_CIPHER *c, char *buf, int size)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_CIPHER_description(c, buf, size);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::i2d_X509(X509 *a,unsigned char **pp) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_i2d_X509) return (K_i2d_X509)(a,pp);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++X509 *KOpenSSLProxy::d2i_X509(X509 **a, const unsigned char **pp, long length)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::d2i_X509(a, pp, length);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::X509_cmp(X509 *a, X509 *b) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_cmp) return (K_X509_cmp)(a,b);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::i2d_X509(X509 *a, unsigned char **pp)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::i2d_X509(a, pp);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-X509_STORE *KOpenSSLProxy::X509_STORE_new(void) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_STORE_new) return (K_X509_STORE_new)();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::X509_cmp(X509 *a, X509 *b)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_cmp(a, b);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-void KOpenSSLProxy::X509_STORE_free(X509_STORE *v) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_STORE_free) (K_X509_STORE_free)(v);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++X509_STORE *KOpenSSLProxy::X509_STORE_new(void)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_STORE_new();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-X509_STORE_CTX *KOpenSSLProxy::X509_STORE_CTX_new(void) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_STORE_CTX_new) return (K_X509_STORE_CTX_new)();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void KOpenSSLProxy::X509_STORE_free(X509_STORE *v)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ::X509_STORE_free(v);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-void KOpenSSLProxy::X509_STORE_CTX_free(X509_STORE_CTX *ctx) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_STORE_CTX_free) (K_X509_STORE_CTX_free)(ctx);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++X509_STORE_CTX *KOpenSSLProxy::X509_STORE_CTX_new(void)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_STORE_CTX_new();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::X509_verify_cert(X509_STORE_CTX *ctx) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_verify_cert) return (K_X509_verify_cert)(ctx);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void KOpenSSLProxy::X509_STORE_CTX_free(X509_STORE_CTX *ctx)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ::X509_STORE_CTX_free(ctx);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-void KOpenSSLProxy::X509_free(X509 *a) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_free) (K_X509_free)(a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::X509_verify_cert(X509_STORE_CTX *ctx)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_verify_cert(ctx);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-char *KOpenSSLProxy::X509_NAME_oneline(X509_NAME *a,char *buf,int size) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_NAME_oneline) return (K_X509_NAME_oneline)(a,buf,size);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void KOpenSSLProxy::X509_free(X509 *a)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ::X509_free(a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-X509_NAME *KOpenSSLProxy::X509_get_subject_name(X509 *a) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_get_subject_name) return (K_X509_get_subject_name)(a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++char *KOpenSSLProxy::X509_NAME_oneline(X509_NAME *a, char *buf, int size)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_NAME_oneline(a, buf, size);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-X509_NAME *KOpenSSLProxy::X509_get_issuer_name(X509 *a) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_get_issuer_name) return (K_X509_get_issuer_name)(a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++X509_NAME *KOpenSSLProxy::X509_get_subject_name(X509 *a)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_get_subject_name(a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-X509_LOOKUP *KOpenSSLProxy::X509_STORE_add_lookup(X509_STORE *v, X509_LOOKUP_METHOD *m) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_STORE_add_lookup) return (K_X509_STORE_add_lookup)(v,m);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++X509_NAME *KOpenSSLProxy::X509_get_issuer_name(X509 *a)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_get_issuer_name(a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-X509_LOOKUP_METHOD *KOpenSSLProxy::X509_LOOKUP_file(void) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_LOOKUP_file) return (K_X509_LOOKUP_file)();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++X509_LOOKUP *KOpenSSLProxy::X509_STORE_add_lookup(X509_STORE *v, X509_LOOKUP_METHOD *m)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_STORE_add_lookup(v, m);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-void KOpenSSLProxy::X509_LOOKUP_free(X509_LOOKUP *x) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_LOOKUP_free) (K_X509_LOOKUP_free)(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++X509_LOOKUP_METHOD *KOpenSSLProxy::X509_LOOKUP_file(void)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_LOOKUP_file();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::X509_LOOKUP_ctrl(X509_LOOKUP *ctx, int cmd, const char *argc, long argl, char **ret) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_LOOKUP_ctrl) return (K_X509_LOOKUP_ctrl)(ctx,cmd,argc,argl,ret);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void KOpenSSLProxy::X509_LOOKUP_free(X509_LOOKUP *x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ::X509_LOOKUP_free(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-void KOpenSSLProxy::X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, X509 *x509, STACK_OF(X509) *chain) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_STORE_CTX_init) (K_X509_STORE_CTX_init)(ctx,store,x509,chain);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::X509_LOOKUP_ctrl(X509_LOOKUP *ctx, int cmd, const char *argc, long argl, char **ret)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_LOOKUP_ctrl(ctx, cmd, argc, argl, ret);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-void KOpenSSLProxy::CRYPTO_free(void *x) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_CRYPTO_free) (K_CRYPTO_free)(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void KOpenSSLProxy::X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, X509 *x509, STACK_OF(X509) *chain)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ::X509_STORE_CTX_init(ctx, store, x509, chain);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-X509 *KOpenSSLProxy::X509_dup(X509 *x509) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_dup) return (K_X509_dup)(x509);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void KOpenSSLProxy::CRYPTO_free(void *x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ::CRYPTO_free(x, OPENSSL_FILE, OPENSSL_LINE);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-BIO *KOpenSSLProxy::BIO_new(BIO_METHOD *type) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_BIO_new) return (K_BIO_new)(type);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++X509 *KOpenSSLProxy::X509_dup(X509 *x509)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_dup(x509);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-BIO_METHOD *KOpenSSLProxy::BIO_s_mem(void) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_BIO_s_mem) return (K_BIO_s_mem)();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++BIO *KOpenSSLProxy::BIO_new(BIO_METHOD *type)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::BIO_new(type);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-BIO *KOpenSSLProxy::BIO_new_fp(FILE *stream, int close_flag) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_BIO_new_fp) return (K_BIO_new_fp)(stream, close_flag);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++const BIO_METHOD *KOpenSSLProxy::BIO_s_mem(void)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::BIO_s_mem();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-BIO *KOpenSSLProxy::BIO_new_mem_buf(void *buf, int len) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_BIO_new_mem_buf) return (K_BIO_new_mem_buf)(buf,len);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++BIO *KOpenSSLProxy::BIO_new_fp(FILE *stream, int close_flag)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::BIO_new_fp(stream, close_flag);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::BIO_free(BIO *a) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_BIO_free) return (K_BIO_free)(a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++BIO *KOpenSSLProxy::BIO_new_mem_buf(void *buf, int len)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::BIO_new_mem_buf(buf, len);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-long KOpenSSLProxy::BIO_ctrl(BIO *bp,int cmd,long larg,void *parg) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_BIO_ctrl) return (K_BIO_ctrl)(bp,cmd,larg,parg);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0; // failure return for BIO_ctrl is quite individual, maybe we should abort() instead
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::BIO_free(BIO *a)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::BIO_free(a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::BIO_write(BIO *b, const void *data, int len) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_BIO_write) return (K_BIO_write)(b, data, len);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++long KOpenSSLProxy::BIO_ctrl(BIO *bp, int cmd, long larg, void *parg)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::BIO_ctrl(bp, cmd, larg, parg);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::PEM_write_bio_X509(BIO *bp, X509 *x) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_PEM_ASN1_write_bio) return (K_PEM_ASN1_write_bio) ((int (*)())K_i2d_X509, PEM_STRING_X509, bp, (char *)x, 0L, 0L, 0, 0L, 0L);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::BIO_write(BIO *b, const void *data, int len)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::BIO_write(b, data, len);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::ASN1_item_i2d_fp(FILE *out,unsigned char *x) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_ASN1_item_i2d_fp && K_NETSCAPE_X509_it)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return (K_ASN1_item_i2d_fp)(K_NETSCAPE_X509_it, out, x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::PEM_write_bio_X509(BIO *bp, X509 *x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::PEM_ASN1_write_bio(reinterpret_cast<i2d_of_void*>(::i2d_X509), PEM_STRING_X509, bp, (char *)x, 0L, 0L, 0, 0L, 0L);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::X509_print(FILE *fp, X509 *x) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_print_fp) return (K_X509_print_fp)(fp, x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::X509_print(FILE *fp, X509 *x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_print_fp(fp, x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-PKCS12 *KOpenSSLProxy::d2i_PKCS12_fp(FILE *fp, PKCS12 **p12) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_d2i_PKCS12_fp) return (K_d2i_PKCS12_fp)(fp, p12);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++PKCS12 *KOpenSSLProxy::d2i_PKCS12_fp(FILE *fp, PKCS12 **p12)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::d2i_PKCS12_fp(fp, p12);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::PKCS12_newpass(PKCS12 *p12, char *oldpass, char *newpass) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_PKCS12_newpass) return (K_PKCS12_newpass)(p12, oldpass, newpass);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::PKCS12_newpass(PKCS12 *p12, char *oldpass, char *newpass)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::PKCS12_newpass(p12, oldpass, newpass);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::i2d_PKCS12(PKCS12 *p12, unsigned char **p) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_i2d_PKCS12) return (K_i2d_PKCS12)(p12, p);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::i2d_PKCS12(PKCS12 *p12, unsigned char **p)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::i2d_PKCS12(p12, p);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::i2d_PKCS12_fp(FILE *fp, PKCS12 *p12) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_i2d_PKCS12_fp) return (K_i2d_PKCS12_fp)(fp, p12);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::i2d_PKCS12_fp(FILE *fp, PKCS12 *p12)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::i2d_PKCS12_fp(fp, p12);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-PKCS12 *KOpenSSLProxy::PKCS12_new(void) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_PKCS12_new) return (K_PKCS12_new)();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++PKCS12 *KOpenSSLProxy::PKCS12_new(void)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::PKCS12_new();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-void KOpenSSLProxy::PKCS12_free(PKCS12 *a) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_PKCS12_free) (K_PKCS12_free)(a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void KOpenSSLProxy::PKCS12_free(PKCS12 *a)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ::PKCS12_free(a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int KOpenSSLProxy::PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- X509 **cert, STACK_OF(X509) **ca) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_PKCS12_parse) return (K_PKCS12_parse) (p12, pass, pkey, cert, ca);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ X509 **cert, STACK_OF(X509) **ca)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::PKCS12_parse(p12, pass, pkey, cert, ca);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-void KOpenSSLProxy::EVP_PKEY_free(EVP_PKEY *x) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_EVP_PKEY_free) (K_EVP_PKEY_free)(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void KOpenSSLProxy::EVP_PKEY_free(EVP_PKEY *x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ::EVP_PKEY_free(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-EVP_PKEY* KOpenSSLProxy::EVP_PKEY_new() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_EVP_PKEY_new) return (K_EVP_PKEY_new)();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++EVP_PKEY *KOpenSSLProxy::EVP_PKEY_new()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::EVP_PKEY_new();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-void KOpenSSLProxy::X509_REQ_free(X509_REQ *x) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_REQ_free) (K_X509_REQ_free)(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void KOpenSSLProxy::X509_REQ_free(X509_REQ *x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ::X509_REQ_free(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-X509_REQ* KOpenSSLProxy::X509_REQ_new() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_REQ_new) return (K_X509_REQ_new)();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++X509_REQ *KOpenSSLProxy::X509_REQ_new()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_REQ_new();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_CTX_use_PrivateKey) return (K_SSL_CTX_use_PrivateKey)(ctx,pkey);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_CTX_use_PrivateKey(ctx, pkey);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_CTX_use_certificate) return (K_SSL_CTX_use_certificate)(ctx,x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_CTX_use_certificate(ctx, x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::SSL_get_error(SSL *ssl, int rc) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_get_error) return (K_SSL_get_error)(ssl,rc);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::SSL_get_error(SSL *ssl, int rc)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_get_error(ssl, rc);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-STACK_OF(X509) *KOpenSSLProxy::SSL_get_peer_cert_chain(SSL *s) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_get_peer_cert_chain) return (K_SSL_get_peer_cert_chain)(s);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++STACK_OF(X509) *KOpenSSLProxy::SSL_get_peer_cert_chain(SSL *s)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_get_peer_cert_chain(s);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-void KOpenSSLProxy::sk_free(STACK *s) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_sk_free) (K_sk_free)(s);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void KOpenSSLProxy::sk_free(STACK *s)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ::OPENSSL_sk_free(s);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::sk_num(STACK *s) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_sk_num) return (K_sk_num)(s);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::sk_num(STACK *s)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::OPENSSL_sk_num(s);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-char *KOpenSSLProxy::sk_pop(STACK *s) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_sk_pop) return (K_sk_pop)(s);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++char *KOpenSSLProxy::sk_pop(STACK *s)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return static_cast<char*>(::OPENSSL_sk_pop(s));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-char *KOpenSSLProxy::sk_value(STACK *s, int n) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_sk_value) return (K_sk_value)(s, n);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++char *KOpenSSLProxy::sk_value(STACK *s, int n)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return static_cast<char*>(::sk_value(s, n));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-void KOpenSSLProxy::X509_STORE_CTX_set_chain(X509_STORE_CTX *v, STACK_OF(X509)* x) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_STORE_CTX_set_chain) (K_X509_STORE_CTX_set_chain)(v,x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void KOpenSSLProxy::X509_STORE_CTX_set_chain(X509_STORE_CTX *v, STACK_OF(X509)* x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ::X509_STORE_CTX_set_chain(v, x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-void KOpenSSLProxy::X509_STORE_CTX_set_purpose(X509_STORE_CTX *v, int purpose) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_STORE_CTX_set_purpose) (K_X509_STORE_CTX_set_purpose)(v,purpose);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void KOpenSSLProxy::X509_STORE_CTX_set_purpose(X509_STORE_CTX *v, int purpose)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ::X509_STORE_CTX_set_purpose(v, purpose);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-STACK* KOpenSSLProxy::sk_dup(STACK *s) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_sk_dup) return (K_sk_dup)(s);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++STACK *KOpenSSLProxy::sk_dup(STACK *s)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::sk_dup(s);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-STACK* KOpenSSLProxy::sk_new(int (*cmp)()) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_sk_new) return (K_sk_new)(cmp);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++STACK *KOpenSSLProxy::sk_new(OPENSSL_sk_compfunc cmp)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::sk_new(cmp);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::sk_push(STACK* s, char* d) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_sk_push) return (K_sk_push)(s,d);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::sk_push(STACK *s, char *d)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::sk_push(s, d);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-char *KOpenSSLProxy::i2s_ASN1_INTEGER(X509V3_EXT_METHOD *meth, ASN1_INTEGER *aint) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_i2s_ASN1_INTEGER) return (K_i2s_ASN1_INTEGER)(meth, aint);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++char *KOpenSSLProxy::i2s_ASN1_INTEGER(X509V3_EXT_METHOD *meth, ASN1_INTEGER *aint)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::i2s_ASN1_INTEGER(meth, aint);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-ASN1_INTEGER *KOpenSSLProxy::X509_get_serialNumber(X509 *x) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_get_serialNumber) return (K_X509_get_serialNumber)(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ASN1_INTEGER *KOpenSSLProxy::X509_get_serialNumber(X509 *x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_get_serialNumber(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-EVP_PKEY *KOpenSSLProxy::X509_get_pubkey(X509 *x) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_get_pubkey) return (K_X509_get_pubkey)(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++EVP_PKEY *KOpenSSLProxy::X509_get_pubkey(X509 *x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_get_pubkey(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::i2d_PublicKey(EVP_PKEY *a, unsigned char **pp) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_i2d_PublicKey) return (K_i2d_PublicKey)(a,pp);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::i2d_PublicKey(EVP_PKEY *a, unsigned char **pp)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::i2d_PublicKey(a, pp);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::X509_check_private_key(X509 *x, EVP_PKEY *p) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_check_private_key) return (K_X509_check_private_key)(x,p);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::X509_check_private_key(X509 *x, EVP_PKEY *p)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_check_private_key(x, p);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-char *KOpenSSLProxy::BN_bn2hex(const BIGNUM *a) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_BN_bn2hex) return (K_BN_bn2hex)(a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++char *KOpenSSLProxy::BN_bn2hex(const BIGNUM *a)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::BN_bn2hex(a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::X509_digest(const X509 *x,const EVP_MD *t, unsigned char *md, unsigned int *len) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_digest) return (K_X509_digest)(x, t, md, len);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::X509_digest(const X509 *x, const EVP_MD *t, unsigned char *md, unsigned int *len)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_digest(x, t, md, len);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-EVP_MD *KOpenSSLProxy::EVP_md5() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_EVP_md5) return (K_EVP_md5)();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++const EVP_MD *KOpenSSLProxy::EVP_md5()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::EVP_md5();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-void KOpenSSLProxy::ASN1_INTEGER_free(ASN1_INTEGER *a) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_ASN1_INTEGER_free) (K_ASN1_INTEGER_free)(a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void KOpenSSLProxy::ASN1_INTEGER_free(ASN1_INTEGER *a)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ::ASN1_INTEGER_free(a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::OBJ_obj2nid(ASN1_OBJECT *o) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_OBJ_obj2nid) return (K_OBJ_obj2nid)(o);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::OBJ_obj2nid(ASN1_OBJECT *o)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::OBJ_obj2nid(o);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-const char * KOpenSSLProxy::OBJ_nid2ln(int n) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_OBJ_nid2ln) return (K_OBJ_nid2ln)(n);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++const char *KOpenSSLProxy::OBJ_nid2ln(int n)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::OBJ_nid2ln(n);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::X509_get_ext_count(X509 *x) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_get_ext_count) return (K_X509_get_ext_count)(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::X509_get_ext_count(X509 *x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_get_ext_count(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::X509_get_ext_by_NID(X509 *x, int nid, int lastpos) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_get_ext_by_NID) return (K_X509_get_ext_by_NID)(x,nid,lastpos);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::X509_get_ext_by_NID(X509 *x, int nid, int lastpos)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_get_ext_by_NID(x, nid, lastpos);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::X509_get_ext_by_OBJ(X509 *x,ASN1_OBJECT *obj,int lastpos) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_get_ext_by_OBJ) return (K_X509_get_ext_by_OBJ)(x,obj,lastpos);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::X509_get_ext_by_OBJ(X509 *x, ASN1_OBJECT *obj, int lastpos)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_get_ext_by_OBJ(x, obj, lastpos);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-X509_EXTENSION *KOpenSSLProxy::X509_get_ext(X509 *x, int loc) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_get_ext) return (K_X509_get_ext)(x,loc);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++X509_EXTENSION *KOpenSSLProxy::X509_get_ext(X509 *x, int loc)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_get_ext(x, loc);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-X509_EXTENSION *KOpenSSLProxy::X509_delete_ext(X509 *x, int loc) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_delete_ext) return (K_X509_delete_ext)(x,loc);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++X509_EXTENSION *KOpenSSLProxy::X509_delete_ext(X509 *x, int loc)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_delete_ext(x, loc);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_add_ext) return (K_X509_add_ext)(x,ex,loc);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_add_ext(x, ex, loc);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-void *KOpenSSLProxy::X509_get_ext_d2i(X509 *x, int nid, int *crit, int *idx) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_get_ext_d2i) return (K_X509_get_ext_d2i)(x,nid,crit,idx);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void *KOpenSSLProxy::X509_get_ext_d2i(X509 *x, int nid, int *crit, int *idx)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_get_ext_d2i(x, nid, crit, idx);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-char *KOpenSSLProxy::i2s_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method, ASN1_OCTET_STRING *ia5) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_i2s_ASN1_OCTET_STRING) return (K_i2s_ASN1_OCTET_STRING)(method,ia5);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++char *KOpenSSLProxy::i2s_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method, ASN1_OCTET_STRING *ia5)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::i2s_ASN1_OCTET_STRING(method, ia5);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::ASN1_BIT_STRING_get_bit(ASN1_BIT_STRING *a, int n) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_ASN1_BIT_STRING_get_bit) return (K_ASN1_BIT_STRING_get_bit)(a,n);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::ASN1_BIT_STRING_get_bit(ASN1_BIT_STRING *a, int n)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::ASN1_BIT_STRING_get_bit(a, n);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-PKCS7 *KOpenSSLProxy::PKCS7_new(void) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_PKCS7_new) return (K_PKCS7_new)();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++PKCS7 *KOpenSSLProxy::PKCS7_new(void)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::PKCS7_new();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-void KOpenSSLProxy::PKCS7_free(PKCS7 *a) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_PKCS7_free) (K_PKCS7_free)(a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void KOpenSSLProxy::PKCS7_free(PKCS7 *a)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ::PKCS7_free(a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-void KOpenSSLProxy::PKCS7_content_free(PKCS7 *a) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_PKCS7_content_free) (K_PKCS7_content_free)(a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void KOpenSSLProxy::PKCS7_content_free(PKCS7 *a)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ CRYPTO_free(a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::i2d_PKCS7(PKCS7 *a, unsigned char **pp) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_i2d_PKCS7) return (K_i2d_PKCS7)(a,pp);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::i2d_PKCS7(PKCS7 *a, unsigned char **pp)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::i2d_PKCS7(a, pp);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-PKCS7 *KOpenSSLProxy::d2i_PKCS7(PKCS7 **a, unsigned char **pp,long length) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_d2i_PKCS7) return (K_d2i_PKCS7)(a,pp,length);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++PKCS7 *KOpenSSLProxy::d2i_PKCS7(PKCS7 **a, const unsigned char **pp, long length)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::d2i_PKCS7(a, pp, length);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::i2d_PKCS7_fp(FILE *fp,PKCS7 *p7) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_i2d_PKCS7_fp) return (K_i2d_PKCS7_fp)(fp,p7);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::i2d_PKCS7_fp(FILE *fp, PKCS7 *p7)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::i2d_PKCS7_fp(fp, p7);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-PKCS7 *KOpenSSLProxy::d2i_PKCS7_fp(FILE *fp,PKCS7 **p7) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_d2i_PKCS7_fp) return (K_d2i_PKCS7_fp)(fp,p7);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++PKCS7 *KOpenSSLProxy::d2i_PKCS7_fp(FILE *fp, PKCS7 **p7)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::d2i_PKCS7_fp(fp, p7);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::i2d_PKCS7_bio(BIO *bp,PKCS7 *p7) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_i2d_PKCS7_bio) return (K_i2d_PKCS7_bio)(bp, p7);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::i2d_PKCS7_bio(BIO *bp, PKCS7 *p7)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::i2d_PKCS7_bio(bp, p7);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-PKCS7 *KOpenSSLProxy::d2i_PKCS7_bio(BIO *bp,PKCS7 **p7) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_d2i_PKCS7_bio) return (K_d2i_PKCS7_bio)(bp, p7);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++PKCS7 *KOpenSSLProxy::d2i_PKCS7_bio(BIO *bp, PKCS7 **p7)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::d2i_PKCS7_bio(bp, p7);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-PKCS7 *KOpenSSLProxy::PKCS7_dup(PKCS7 *p7) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_PKCS7_dup) return (K_PKCS7_dup)(p7);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++PKCS7 *KOpenSSLProxy::PKCS7_dup(PKCS7 *p7)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::PKCS7_dup(p7);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PKCS7 *KOpenSSLProxy::PKCS7_sign(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- BIO *data, int flags) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_PKCS7_sign) return (K_PKCS7_sign)(signcert,pkey,certs,data,flags);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ BIO *data, int flags)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::PKCS7_sign(signcert, pkey, certs, data, flags);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::PKCS7_verify(PKCS7* p, STACK_OF(X509)* st, X509_STORE* s, BIO* in, BIO *out, int flags) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_PKCS7_verify) return (K_PKCS7_verify)(p,st,s,in,out,flags);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::PKCS7_verify(PKCS7 *p, STACK_OF(X509)* st, X509_STORE *s, BIO *in, BIO *out, int flags)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::PKCS7_verify(p, st, s, in, out, flags);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-STACK_OF(X509) *KOpenSSLProxy::PKCS7_get0_signers(PKCS7 *p7, STACK_OF(X509) *certs, int flags) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_PKCS7_get0_signers) return (K_PKCS7_get0_signers)(p7,certs,flags);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++STACK_OF(X509) *KOpenSSLProxy::PKCS7_get0_signers(PKCS7 *p7, STACK_OF(X509) *certs, int flags)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::PKCS7_get0_signers(p7, certs, flags);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PKCS7 *KOpenSSLProxy::PKCS7_encrypt(STACK_OF(X509) *certs, BIO *in, EVP_CIPHER *cipher,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int flags) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_PKCS7_encrypt) return (K_PKCS7_encrypt)(certs,in,cipher,flags);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int flags)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::PKCS7_encrypt(certs, in, cipher, flags);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::PKCS7_decrypt(PKCS7 *p7, EVP_PKEY *pkey, X509 *cert, BIO *data, int flags) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_PKCS7_decrypt) return (K_PKCS7_decrypt)(p7,pkey,cert,data,flags);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::PKCS7_decrypt(PKCS7 *p7, EVP_PKEY *pkey, X509 *cert, BIO *data, int flags)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::PKCS7_decrypt(p7, pkey, cert, data, flags);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-STACK_OF(X509_NAME) *KOpenSSLProxy::SSL_load_client_CA_file(const char *file) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_load_client_CA_file) return (K_SSL_load_client_CA_file)(file);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++STACK_OF(X509_NAME) *KOpenSSLProxy::SSL_load_client_CA_file(const char *file)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_load_client_CA_file(file);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-STACK_OF(X509_INFO) *KOpenSSLProxy::PEM_X509_INFO_read(FILE *fp, STACK_OF(X509_INFO) *sk, pem_password_cb *cb, void *u) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_PEM_X509_INFO_read) return (K_PEM_X509_INFO_read)(fp,sk,cb,u);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++STACK_OF(X509_INFO) *KOpenSSLProxy::PEM_X509_INFO_read(FILE *fp, STACK_OF(X509_INFO) *sk, pem_password_cb *cb, void *u)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::PEM_X509_INFO_read(fp, sk, cb, u);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-X509 *KOpenSSLProxy::X509_d2i_fp(FILE *out, X509** buf) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_ASN1_d2i_fp) return reinterpret_cast<X509 *>((K_ASN1_d2i_fp)(reinterpret_cast<char *(*)()>(K_X509_new), reinterpret_cast<char *(*)()>(K_d2i_X509), out, reinterpret_cast<unsigned char **>(buf)));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++X509 *KOpenSSLProxy::X509_d2i_fp(FILE *out, X509 **buf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return reinterpret_cast<X509 *>(::ASN1_d2i_fp(reinterpret_cast<void *(*)()>(::X509_new), reinterpret_cast<d2i_of_void*>(::d2i_X509), out, reinterpret_cast<void **>(buf)));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::SSL_peek(SSL *ssl,void *buf,int num) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_peek) return (K_SSL_peek)(ssl,buf,num);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::SSL_peek(SSL *ssl, void *buf, int num)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_peek(ssl, buf, num);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-const char *KOpenSSLProxy::RAND_file_name(char *buf, size_t num) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_RAND_file_name) return (K_RAND_file_name)(buf, num);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++const char *KOpenSSLProxy::RAND_file_name(char *buf, size_t num)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::RAND_file_name(buf, num);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::RAND_load_file(const char *filename, long max_bytes) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_RAND_load_file) return (K_RAND_load_file)(filename, max_bytes);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::RAND_load_file(const char *filename, long max_bytes)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::RAND_load_file(filename, max_bytes);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::RAND_write_file(const char *filename) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_RAND_write_file) return (K_RAND_write_file)(filename);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::RAND_write_file(const char *filename)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::RAND_write_file(filename);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::X509_PURPOSE_get_count() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_PURPOSE_get_count) return (K_X509_PURPOSE_get_count)();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::X509_PURPOSE_get_count()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_PURPOSE_get_count();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::X509_PURPOSE_get_id(X509_PURPOSE *p) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_PURPOSE_get_id) return (K_X509_PURPOSE_get_id)(p);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::X509_PURPOSE_get_id(X509_PURPOSE *p)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_PURPOSE_get_id(p);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::X509_check_purpose(X509 *x, int id, int ca) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_check_purpose) return (K_X509_check_purpose)(x, id, ca);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::X509_check_purpose(X509 *x, int id, int ca)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_check_purpose(x, id, ca);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-X509_PURPOSE *KOpenSSLProxy::X509_PURPOSE_get0(int idx) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_PURPOSE_get0) return (K_X509_PURPOSE_get0)(idx);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++X509_PURPOSE *KOpenSSLProxy::X509_PURPOSE_get0(int idx)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_PURPOSE_get0(idx);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::EVP_PKEY_assign(EVP_PKEY *pkey, int type, char *key) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_EVP_PKEY_assign) return (K_EVP_PKEY_assign)(pkey, type, key);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::EVP_PKEY_assign(EVP_PKEY *pkey, int type, char *key)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::EVP_PKEY_assign(pkey, type, key);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_REQ_set_pubkey) return (K_X509_REQ_set_pubkey)(x, pkey);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_REQ_set_pubkey(x, pkey);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-RSA* KOpenSSLProxy::RSA_generate_key(int bits, unsigned long e, void
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- (*callback)(int,int,void *), void *cb_arg) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_RSA_generate_key) return (K_RSA_generate_key)(bits, e, callback, cb_arg);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++RSA *KOpenSSLProxy::RSA_generate_key(int bits, unsigned long e, void
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ (*callback)(int, int, void *), void *cb_arg)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::RSA_generate_key(bits, e, callback, cb_arg);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-STACK *KOpenSSLProxy::X509_get1_email(X509 *x) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_get1_email) return (K_X509_get1_email)(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++STACK *KOpenSSLProxy::X509_get1_email(X509 *x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return reinterpret_cast<STACK*>(::X509_get1_email(x));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-void KOpenSSLProxy::X509_email_free(STACK *sk) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_email_free) (K_X509_email_free)(sk);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void KOpenSSLProxy::X509_email_free(STACK *sk)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ::X509_email_free(reinterpret_cast<STACK_OF(OPENSSL_STRING)*>(sk));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-EVP_CIPHER *KOpenSSLProxy::EVP_des_ede3_cbc() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_EVP_des_ede3_cbc) return (K_EVP_des_ede3_cbc)();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++const EVP_CIPHER *KOpenSSLProxy::EVP_des_ede3_cbc()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::EVP_des_ede3_cbc();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-EVP_CIPHER *KOpenSSLProxy::EVP_des_cbc() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_EVP_des_cbc) return (K_EVP_des_cbc)();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++const EVP_CIPHER *KOpenSSLProxy::EVP_des_cbc()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::EVP_des_cbc();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-EVP_CIPHER *KOpenSSLProxy::EVP_rc2_cbc() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_EVP_rc2_cbc) return (K_EVP_rc2_cbc)();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++const EVP_CIPHER *KOpenSSLProxy::EVP_rc2_cbc()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::EVP_rc2_cbc();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-EVP_CIPHER *KOpenSSLProxy::EVP_rc2_64_cbc() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_EVP_rc2_64_cbc) return (K_EVP_rc2_64_cbc)();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++const EVP_CIPHER *KOpenSSLProxy::EVP_rc2_64_cbc()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::EVP_rc2_64_cbc();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-EVP_CIPHER *KOpenSSLProxy::EVP_rc2_40_cbc() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_EVP_rc2_40_cbc) return (K_EVP_rc2_40_cbc)();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++const EVP_CIPHER *KOpenSSLProxy::EVP_rc2_40_cbc()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::EVP_rc2_40_cbc();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::i2d_X509_REQ_fp(FILE *fp, X509_REQ *x) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_i2d_X509_REQ_fp) return (K_i2d_X509_REQ_fp)(fp,x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::i2d_X509_REQ_fp(FILE *fp, X509_REQ *x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::i2d_X509_REQ_fp(fp, x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-void KOpenSSLProxy::ERR_clear_error() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_ERR_clear_error) (K_ERR_clear_error)();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void KOpenSSLProxy::ERR_clear_error()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::ERR_clear_error();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-unsigned long KOpenSSLProxy::ERR_get_error() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_ERR_get_error) return (K_ERR_get_error)();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0xffffffff;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++unsigned long KOpenSSLProxy::ERR_get_error()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::ERR_get_error();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-void KOpenSSLProxy::ERR_print_errors_fp(FILE* fp) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_ERR_print_errors_fp) (K_ERR_print_errors_fp)(fp);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void KOpenSSLProxy::ERR_print_errors_fp(FILE *fp)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::ERR_print_errors_fp(fp);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-SSL_SESSION *KOpenSSLProxy::SSL_get1_session(SSL *ssl) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_get1_session) return (K_SSL_get1_session)(ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++SSL_SESSION *KOpenSSLProxy::SSL_get1_session(SSL *ssl)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_get1_session(ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-void KOpenSSLProxy::SSL_SESSION_free(SSL_SESSION *session) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_SESSION_free) (K_SSL_SESSION_free)(session);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void KOpenSSLProxy::SSL_SESSION_free(SSL_SESSION *session)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_SESSION_free(session);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::SSL_set_session(SSL *ssl, SSL_SESSION *session) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_set_session) return (K_SSL_set_session)(ssl, session);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::SSL_set_session(SSL *ssl, SSL_SESSION *session)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_set_session(ssl, session);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-SSL_SESSION *KOpenSSLProxy::d2i_SSL_SESSION(SSL_SESSION **a, unsigned char **pp, long length) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_d2i_SSL_SESSION) return (K_d2i_SSL_SESSION)(a, pp, length);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++SSL_SESSION *KOpenSSLProxy::d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp, long length)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::d2i_SSL_SESSION(a, pp, length);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::i2d_SSL_SESSION(SSL_SESSION *in, unsigned char **pp) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_i2d_SSL_SESSION) return (K_i2d_SSL_SESSION)(in, pp);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::i2d_SSL_SESSION(SSL_SESSION *in, unsigned char **pp)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::i2d_SSL_SESSION(in, pp);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::i2d_PrivateKey_fp(FILE *fp, EVP_PKEY *p) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_i2d_PrivateKey_fp) return (K_i2d_PrivateKey_fp)(fp, p);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::i2d_PrivateKey_fp(FILE *fp, EVP_PKEY *p)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::i2d_PrivateKey_fp(fp, p);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *p, const EVP_CIPHER *c, char *k, int klen, pem_password_cb *cb, void *u) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_i2d_PKCS8PrivateKey_fp) return (K_i2d_PKCS8PrivateKey_fp)(fp, p, c, k, klen, cb, u);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *p, const EVP_CIPHER *c, char *k, int klen, pem_password_cb *cb, void *u)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::i2d_PKCS8PrivateKey_fp(fp, p, c, k, klen, cb, u);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-void KOpenSSLProxy::RSA_free(RSA *rsa) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_RSA_free) (K_RSA_free)(rsa);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void KOpenSSLProxy::RSA_free(RSA *rsa)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::RSA_free(rsa);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-EVP_CIPHER *KOpenSSLProxy::EVP_bf_cbc() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_EVP_bf_cbc) return (K_EVP_bf_cbc)();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++const EVP_CIPHER *KOpenSSLProxy::EVP_bf_cbc()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::EVP_bf_cbc();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_REQ_sign) return (K_X509_REQ_sign)(x, pkey, md);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_REQ_sign(x, pkey, md);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int KOpenSSLProxy::X509_NAME_add_entry_by_txt(X509_NAME *name, char *field,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int type, unsigned char *bytes, int len, int loc, int set) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_NAME_add_entry_by_txt) return (K_X509_NAME_add_entry_by_txt)(name, field, type, bytes, len, loc, set);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int type, unsigned char *bytes, int len, int loc, int set)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_NAME_add_entry_by_txt(name, field, type, bytes, len, loc, set);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-X509_NAME *KOpenSSLProxy::X509_NAME_new() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_NAME_new) return (K_X509_NAME_new)();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++X509_NAME *KOpenSSLProxy::X509_NAME_new()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_NAME_new();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::X509_REQ_set_subject_name(X509_REQ *req,X509_NAME *name) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_X509_REQ_set_subject_name) return (K_X509_REQ_set_subject_name)(req, name);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return -1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::X509_REQ_set_subject_name(X509_REQ *req, X509_NAME *name)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::X509_REQ_set_subject_name(req, name);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-unsigned char *KOpenSSLProxy::ASN1_STRING_data(ASN1_STRING *x) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_ASN1_STRING_data) return (K_ASN1_STRING_data)(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++unsigned char *KOpenSSLProxy::ASN1_STRING_data(ASN1_STRING *x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::ASN1_STRING_data(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-int KOpenSSLProxy::ASN1_STRING_length(ASN1_STRING *x) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_ASN1_STRING_length) return (K_ASN1_STRING_length)(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int KOpenSSLProxy::ASN1_STRING_length(ASN1_STRING *x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::ASN1_STRING_length(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-STACK_OF(SSL_CIPHER) *KOpenSSLProxy::SSL_get_ciphers(const SSL* ssl) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (K_SSL_get_ciphers) return (K_SSL_get_ciphers)(ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- return 0L;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++STACK_OF(SSL_CIPHER) *KOpenSSLProxy::SSL_get_ciphers(const SSL *ssl)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ::SSL_get_ciphers(ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- kdelibs-4.14.26/kio/kssl/kopenssl.h.omv~ 2016-11-14 21:58:51.376629071 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ kdelibs-4.14.26/kio/kssl/kopenssl.h 2016-11-14 22:11:08.549870329 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -16,7 +16,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Boston, MA 02110-1301, USA.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // IF YOU ARE USING THIS CLASS, YOU ARE MAKING A MISTAKE.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifndef __KOPENSSLPROXY_H
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -25,11 +24,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define KOSSL KOpenSSLProxy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ class KOpenSSLProxyPrivate;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#include <kio/kio_export.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <ksslconfig.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef KSSL_HAVE_SSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if KSSL_HAVE_SSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define crypt _openssl_crypt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <openssl/ssl.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <openssl/x509.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -62,833 +59,773 @@ class KOpenSSLProxyPrivate;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * @short KDE OpenSSL Wrapper
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * @internal
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-class KOpenSSLProxy {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++class KOpenSSLProxy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ public:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /**
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Return an instance of class KOpenSSLProxy *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * You cannot delete this object. It is a singleton class.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- static KOpenSSLProxy *self();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /**
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Return true of libcrypto was found and loaded
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- bool hasLibCrypto() const;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /**
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Return true of libssl was found and loaded
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- bool hasLibSSL() const;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /**
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Destroy the class and start over - don't use this unless you know
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * what you are doing.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void destroy();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- // Here are the symbols that we need.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef KSSL_HAVE_SSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * SSL_connect - initiate the TLS/SSL handshake with an TLS/SSL server
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int SSL_connect(SSL *ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * SSL_accept - initiate the TLS/SSL handshake with an TLS/SSL server
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int SSL_accept(SSL *ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * SSL_get_error - get the error code
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int SSL_get_error(SSL *ssl, int rc);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * SSL_read - read bytes from a TLS/SSL connection.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int SSL_read(SSL *ssl, void *buf, int num);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * SSL_write - write bytes to a TLS/SSL connection.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int SSL_write(SSL *ssl, const void *buf, int num);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * SSL_new - create a new SSL structure for a connection
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- SSL *SSL_new(SSL_CTX *ctx);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * SSL_free - free an allocated SSL structure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void SSL_free(SSL *ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * SSL_shutdown - shutdown an allocated SSL connection
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int SSL_shutdown(SSL *ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * SSL_CTX_new - create a new SSL_CTX object as framework for TLS/SSL enabled functions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- SSL_CTX *SSL_CTX_new(SSL_METHOD *method);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * SSL_CTX_free - free an allocated SSL_CTX object
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void SSL_CTX_free(SSL_CTX *ctx);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * SSL_set_fd - connect the SSL object with a file descriptor
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int SSL_set_fd(SSL *ssl, int fd);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * SSL_pending - obtain number of readable bytes buffered in an SSL object
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int SSL_pending(SSL *ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * SSL_peek - obtain bytes buffered in an SSL object
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int SSL_peek(SSL *ssl, void *buf, int num);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * SSL_CTX_set_cipher_list - choose list of available SSL_CIPHERs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int SSL_CTX_set_cipher_list(SSL_CTX *ctx, const char *str);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * SSL_CTX_set_verify - set peer certificate verification parameters
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void SSL_CTX_set_verify(SSL_CTX *ctx, int mode,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int (*verify_callback)(int, X509_STORE_CTX *));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * SSL_use_certificate - load certificate
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int SSL_use_certificate(SSL *ssl, X509 *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * SSL_get_current_cipher - get SSL_CIPHER of a connection
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- SSL_CIPHER *SSL_get_current_cipher(SSL *ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * SSL_set_options - manipulate SSL engine options
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Note: These are all mapped to SSL_ctrl so call them as the comment
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * specifies but know that they use SSL_ctrl. They are #define
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * so they will map to the one in this class if called as a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * member function of this class.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /* long SSL_set_options(SSL *ssl, long options); */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /* Returns 0 if not reused, 1 if session id is reused */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /* int SSL_session_reused(SSL *ssl); */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- long SSL_ctrl(SSL *ssl,int cmd, long larg, char *parg);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * RAND_egd - set the path to the EGD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int RAND_egd(const char *path);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * RAND_file_name
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- const char *RAND_file_name(char *buf, size_t num);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * RAND_load_file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int RAND_load_file(const char *filename, long max_bytes);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * RAND_write_file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int RAND_write_file(const char *filename);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * TLSv1_client_method - return a TLSv1 client method object
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- SSL_METHOD *TLSv1_client_method();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * SSLv23_client_method - return a SSLv23 client method object
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- SSL_METHOD *SSLv23_client_method();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * SSL_get_peer_certificate - return the peer's certificate
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- X509 *SSL_get_peer_certificate(SSL *s);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * SSL_get_peer_cert_chain - get the peer's certificate chain
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- STACK_OF(X509) *SSL_get_peer_cert_chain(SSL *s);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * SSL_CIPHER_get_bits - get the number of bits in this cipher
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int SSL_CIPHER_get_bits(SSL_CIPHER *c,int *alg_bits);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * SSL_CIPHER_get_version - get the version of this cipher
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- char *SSL_CIPHER_get_version(SSL_CIPHER *c);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * SSL_CIPHER_get_name - get the name of this cipher
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- const char *SSL_CIPHER_get_name(SSL_CIPHER *c);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * SSL_CIPHER_description - get the description of this cipher
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- char *SSL_CIPHER_description(SSL_CIPHER *,char *buf,int size);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * SSL_CTX_use_PrivateKey - set the private key for the session.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * - for use with client certificates
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * SSL_CTX_use_certificate - set the client certificate for the session.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * d2i_X509 - Convert a text representation of X509 to an X509 object
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- X509 * d2i_X509(X509 **a,unsigned char **pp,long length);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * i2d_X509 - Convert an X509 object into a text representation
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int i2d_X509(X509 *a,unsigned char **pp);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * X509_cmp - compare two X509 objects
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int X509_cmp(X509 *a, X509 *b);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * X509_dup - duplicate an X509 object
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- X509 *X509_dup(X509 *x509);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * X509_STORE_CTX_new - create an X509 store context
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- X509_STORE_CTX *X509_STORE_CTX_new(void);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * X509_STORE_CTX_free - free up an X509 store context
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void X509_STORE_CTX_free(X509_STORE_CTX *v);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * X509_STORE_CTX_set_chain - set the certificate chain
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void X509_STORE_CTX_set_chain(X509_STORE_CTX *v, STACK_OF(X509)* x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * X509_STORE_CTX_set_purpose - set the purpose of the certificate
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void X509_STORE_CTX_set_purpose(X509_STORE_CTX *v, int purpose);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * X509_verify_cert - verify the certificate
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int X509_verify_cert(X509_STORE_CTX *v);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * X509_STORE_new - create an X509 store
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- X509_STORE *X509_STORE_new(void);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * X509_STORE_free - free up an X509 store
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void X509_STORE_free(X509_STORE *v);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * X509_free - free up an X509
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void X509_free(X509 *v);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * X509_NAME_oneline - return the X509 data in a string
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- char *X509_NAME_oneline(X509_NAME *a, char *buf, int size);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * X509_get_subject_name - return the X509_NAME for the subject field
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- X509_NAME *X509_get_subject_name(X509 *a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * X509_get_issuer_name - return the X509_NAME for the issuer field
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- X509_NAME *X509_get_issuer_name(X509 *a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * X509_STORE_add_lookup - add a lookup file/method to an X509 store
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- X509_LOOKUP *X509_STORE_add_lookup(X509_STORE *v, X509_LOOKUP_METHOD *m);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * X509_LOOKUP_file - Definition of the LOOKUP_file method
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- X509_LOOKUP_METHOD *X509_LOOKUP_file(void);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * X509_LOOKUP_free - Free an X509_LOOKUP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void X509_LOOKUP_free(X509_LOOKUP *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * X509_LOOKUP_ctrl - This is not normally called directly (use macros)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int X509_LOOKUP_ctrl(X509_LOOKUP *ctx, int cmd, const char *argc, long argl, char **ret);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * X509_STORE_CTX_init - initialize an X509 STORE context
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, X509 *x509, STACK_OF(X509) *chain);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * CRYPTO_free - free up an internally allocated object
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void CRYPTO_free(void *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * BIO_new - create new BIO
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- BIO *BIO_new(BIO_METHOD *type);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * BIO methods - only one defined here yet
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- BIO_METHOD *BIO_s_mem(void);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * BIO_new_fp - nastiness called BIO - used to create BIO* from FILE*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- BIO *BIO_new_fp(FILE *stream, int close_flag);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * BIO_new_mem_buf - read only BIO from memory region
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- BIO *BIO_new_mem_buf(void *buf, int len);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * BIO_free - nastiness called BIO - used to destroy BIO*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int BIO_free(BIO *a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * BIO_ctrl - BIO control method
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- long BIO_ctrl(BIO *bp,int cmd,long larg,void *parg);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * BIO_write - equivalent to ::write for BIO
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int BIO_write(BIO *b, const void *data, int len);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * PEM_write_bio_X509 - write a PEM encoded cert to a BIO*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int PEM_write_bio_X509(BIO *bp, X509 *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * ASN1_item_i2d_fp - used for netscape output
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int ASN1_item_i2d_fp(FILE *out, unsigned char *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * ASN1_d2i_fp - read an X509 from a DER encoded file (buf can be NULL)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- X509 *X509_d2i_fp(FILE *out, X509** buf);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * X509_print - print the text form of an X509
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int X509_print(FILE *fp, X509 *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Read a PKCS#12 cert from fp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- PKCS12 *d2i_PKCS12_fp(FILE *fp, PKCS12 **p12);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Change the password on a PKCS#12 cert
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int PKCS12_newpass(PKCS12 *p12, char *oldpass, char *newpass);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Write a PKCS#12 to mem
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int i2d_PKCS12(PKCS12 *p12, unsigned char **p);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Write a PKCS#12 to FILE*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int i2d_PKCS12_fp(FILE *fp, PKCS12 *p12);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Create a new PKCS#12 object
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- PKCS12 *PKCS12_new(void);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Destroy that PKCS#12 that you created!
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void PKCS12_free(PKCS12 *a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Parse the PKCS#12
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- X509 **cert, STACK_OF(X509) **ca);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Free the Private Key
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void EVP_PKEY_free(EVP_PKEY *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Pop off the stack
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- char *sk_pop(STACK *s);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Free the stack
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void sk_free(STACK *s);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /**
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Return an instance of class KOpenSSLProxy *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * You cannot delete this object. It is a singleton class.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ static KOpenSSLProxy *self();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /**
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Return true of libcrypto was found and loaded
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ bool hasLibCrypto() const;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /**
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Return true of libssl was found and loaded
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ bool hasLibSSL() const;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /**
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Destroy the class and start over - don't use this unless you know
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * what you are doing.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ void destroy();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ // Here are the symbols that we need.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if KSSL_HAVE_SSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * SSL_connect - initiate the TLS/SSL handshake with an TLS/SSL server
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int SSL_connect(SSL *ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * SSL_accept - initiate the TLS/SSL handshake with an TLS/SSL server
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int SSL_accept(SSL *ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * SSL_get_error - get the error code
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int SSL_get_error(SSL *ssl, int rc);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * SSL_read - read bytes from a TLS/SSL connection.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int SSL_read(SSL *ssl, void *buf, int num);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * SSL_write - write bytes to a TLS/SSL connection.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int SSL_write(SSL *ssl, const void *buf, int num);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * SSL_new - create a new SSL structure for a connection
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ SSL *SSL_new(SSL_CTX *ctx);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * SSL_free - free an allocated SSL structure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ void SSL_free(SSL *ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * SSL_shutdown - shutdown an allocated SSL connection
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int SSL_shutdown(SSL *ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * SSL_CTX_new - create a new SSL_CTX object as framework for TLS/SSL enabled functions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ SSL_CTX *SSL_CTX_new(const SSL_METHOD *method);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * SSL_CTX_free - free an allocated SSL_CTX object
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ void SSL_CTX_free(SSL_CTX *ctx);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * SSL_set_fd - connect the SSL object with a file descriptor
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int SSL_set_fd(SSL *ssl, int fd);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * SSL_pending - obtain number of readable bytes buffered in an SSL object
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int SSL_pending(SSL *ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * SSL_peek - obtain bytes buffered in an SSL object
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int SSL_peek(SSL *ssl, void *buf, int num);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * SSL_CTX_set_cipher_list - choose list of available SSL_CIPHERs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int SSL_CTX_set_cipher_list(SSL_CTX *ctx, const char *str);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * SSL_CTX_set_verify - set peer certificate verification parameters
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ void SSL_CTX_set_verify(SSL_CTX *ctx, int mode,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int (*verify_callback)(int, X509_STORE_CTX *));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * SSL_use_certificate - load certificate
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int SSL_use_certificate(SSL *ssl, X509 *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * SSL_get_current_cipher - get SSL_CIPHER of a connection
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ const SSL_CIPHER *SSL_get_current_cipher(SSL *ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * SSL_set_options - manipulate SSL engine options
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Note: These are all mapped to SSL_ctrl so call them as the comment
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * specifies but know that they use SSL_ctrl. They are #define
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * so they will map to the one in this class if called as a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * member function of this class.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* long SSL_set_options(SSL *ssl, long options); */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* Returns 0 if not reused, 1 if session id is reused */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* int SSL_session_reused(SSL *ssl); */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ long SSL_ctrl(SSL *ssl, int cmd, long larg, char *parg);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * RAND_egd - set the path to the EGD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int RAND_egd(const char *path);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * RAND_file_name
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ const char *RAND_file_name(char *buf, size_t num);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * RAND_load_file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int RAND_load_file(const char *filename, long max_bytes);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * RAND_write_file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int RAND_write_file(const char *filename);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * TLSv1_client_method - return a TLSv1 client method object
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ const SSL_METHOD *TLSv1_client_method();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * SSLv23_client_method - return a SSLv23 client method object
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ const SSL_METHOD *SSLv23_client_method();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * SSL_get_peer_certificate - return the peer's certificate
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ X509 *SSL_get_peer_certificate(SSL *s);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * SSL_get_peer_cert_chain - get the peer's certificate chain
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ STACK_OF(X509) *SSL_get_peer_cert_chain(SSL *s);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * SSL_CIPHER_get_bits - get the number of bits in this cipher
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int SSL_CIPHER_get_bits(SSL_CIPHER *c, int *alg_bits);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * SSL_CIPHER_get_version - get the version of this cipher
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ const char *SSL_CIPHER_get_version(SSL_CIPHER *c);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * SSL_CIPHER_get_name - get the name of this cipher
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ const char *SSL_CIPHER_get_name(SSL_CIPHER *c);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * SSL_CIPHER_description - get the description of this cipher
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ char *SSL_CIPHER_description(SSL_CIPHER *, char *buf, int size);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * SSL_CTX_use_PrivateKey - set the private key for the session.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * - for use with client certificates
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * SSL_CTX_use_certificate - set the client certificate for the session.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * d2i_X509 - Convert a text representation of X509 to an X509 object
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ X509 *d2i_X509(X509 **a, const unsigned char **pp, long length);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * i2d_X509 - Convert an X509 object into a text representation
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int i2d_X509(X509 *a, unsigned char **pp);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * X509_cmp - compare two X509 objects
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int X509_cmp(X509 *a, X509 *b);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * X509_dup - duplicate an X509 object
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ X509 *X509_dup(X509 *x509);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * X509_STORE_CTX_new - create an X509 store context
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ X509_STORE_CTX *X509_STORE_CTX_new(void);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * X509_STORE_CTX_free - free up an X509 store context
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ void X509_STORE_CTX_free(X509_STORE_CTX *v);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * X509_STORE_CTX_set_chain - set the certificate chain
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ void X509_STORE_CTX_set_chain(X509_STORE_CTX *v, STACK_OF(X509)* x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * X509_STORE_CTX_set_purpose - set the purpose of the certificate
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ void X509_STORE_CTX_set_purpose(X509_STORE_CTX *v, int purpose);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * X509_verify_cert - verify the certificate
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int X509_verify_cert(X509_STORE_CTX *v);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * X509_STORE_new - create an X509 store
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ X509_STORE *X509_STORE_new(void);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * X509_STORE_free - free up an X509 store
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ void X509_STORE_free(X509_STORE *v);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * X509_free - free up an X509
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ void X509_free(X509 *v);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * X509_NAME_oneline - return the X509 data in a string
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ char *X509_NAME_oneline(X509_NAME *a, char *buf, int size);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * X509_get_subject_name - return the X509_NAME for the subject field
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ X509_NAME *X509_get_subject_name(X509 *a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * X509_get_issuer_name - return the X509_NAME for the issuer field
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ X509_NAME *X509_get_issuer_name(X509 *a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * X509_STORE_add_lookup - add a lookup file/method to an X509 store
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ X509_LOOKUP *X509_STORE_add_lookup(X509_STORE *v, X509_LOOKUP_METHOD *m);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * X509_LOOKUP_file - Definition of the LOOKUP_file method
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ X509_LOOKUP_METHOD *X509_LOOKUP_file(void);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * X509_LOOKUP_free - Free an X509_LOOKUP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ void X509_LOOKUP_free(X509_LOOKUP *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * X509_LOOKUP_ctrl - This is not normally called directly (use macros)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int X509_LOOKUP_ctrl(X509_LOOKUP *ctx, int cmd, const char *argc, long argl, char **ret);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * X509_STORE_CTX_init - initialize an X509 STORE context
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ void X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, X509 *x509, STACK_OF(X509) *chain);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * CRYPTO_free - free up an internally allocated object
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ void CRYPTO_free(void *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * BIO_new - create new BIO
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ BIO *BIO_new(BIO_METHOD *type);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * BIO methods - only one defined here yet
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ const BIO_METHOD *BIO_s_mem(void);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * BIO_new_fp - nastiness called BIO - used to create BIO* from FILE*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ BIO *BIO_new_fp(FILE *stream, int close_flag);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * BIO_new_mem_buf - read only BIO from memory region
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ BIO *BIO_new_mem_buf(void *buf, int len);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * BIO_free - nastiness called BIO - used to destroy BIO*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int BIO_free(BIO *a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * BIO_ctrl - BIO control method
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ long BIO_ctrl(BIO *bp, int cmd, long larg, void *parg);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * BIO_write - equivalent to ::write for BIO
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int BIO_write(BIO *b, const void *data, int len);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * PEM_write_bio_X509 - write a PEM encoded cert to a BIO*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int PEM_write_bio_X509(BIO *bp, X509 *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * ASN1_d2i_fp - read an X509 from a DER encoded file (buf can be NULL)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ X509 *X509_d2i_fp(FILE *out, X509 **buf);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * X509_print - print the text form of an X509
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int X509_print(FILE *fp, X509 *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Read a PKCS#12 cert from fp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ PKCS12 *d2i_PKCS12_fp(FILE *fp, PKCS12 **p12);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Change the password on a PKCS#12 cert
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int PKCS12_newpass(PKCS12 *p12, char *oldpass, char *newpass);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Write a PKCS#12 to mem
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int i2d_PKCS12(PKCS12 *p12, unsigned char **p);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Write a PKCS#12 to FILE*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int i2d_PKCS12_fp(FILE *fp, PKCS12 *p12);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Create a new PKCS#12 object
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ PKCS12 *PKCS12_new(void);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Destroy that PKCS#12 that you created!
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ void PKCS12_free(PKCS12 *a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Parse the PKCS#12
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ X509 **cert, STACK_OF(X509) **ca);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Free the Private Key
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ void EVP_PKEY_free(EVP_PKEY *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Pop off the stack
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ char *sk_pop(STACK *s);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Free the stack
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ void sk_free(STACK *s);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if OPENSSL_VERSION_NUMBER >= 0x10000000L
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void sk_free(void *s) { return sk_free(reinterpret_cast<STACK*>(s)); }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ void sk_free(void *s)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return sk_free(reinterpret_cast<STACK *>(s));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Number of elements in the stack
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int sk_num(STACK *s);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Value of element n in the stack
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- char *sk_value(STACK *s, int n);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Number of elements in the stack
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int sk_num(STACK *s);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Value of element n in the stack
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ char *sk_value(STACK *s, int n);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if OPENSSL_VERSION_NUMBER >= 0x10000000L
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- char *sk_value(void *s, int n) { return sk_value(reinterpret_cast<STACK*>(s), n); }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ char *sk_value(void *s, int n)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return sk_value(reinterpret_cast<STACK *>(s), n);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Create a new stack
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- STACK *sk_new(int (*cmp)());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Add an element to the stack
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int sk_push(STACK *s, char *d);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Create a new stack
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ STACK *sk_new(OPENSSL_sk_compfunc cmp);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Add an element to the stack
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int sk_push(STACK *s, char *d);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if OPENSSL_VERSION_NUMBER >= 0x10000000L
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int sk_push(void *s, void *d) { return sk_push(reinterpret_cast<STACK*>(s), reinterpret_cast<char*>(d)); }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int sk_push(void *s, void *d)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return sk_push(reinterpret_cast<STACK *>(s), reinterpret_cast<char *>(d));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Duplicate the stack
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ STACK *sk_dup(STACK *s);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Convert an ASN1_INTEGER to its text form
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ char *i2s_ASN1_INTEGER(X509V3_EXT_METHOD *meth, ASN1_INTEGER *aint);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Get the certificate's serial number
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ASN1_INTEGER *X509_get_serialNumber(X509 *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Get the certificate's public key
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ EVP_PKEY *X509_get_pubkey(X509 *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Convert the public key to a decimal form
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int i2d_PublicKey(EVP_PKEY *a, unsigned char **pp);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Check the private key of a PKCS bundle against the X509
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int X509_check_private_key(X509 *x, EVP_PKEY *p);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Convert a BIGNUM to a hex string
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ char *BN_bn2hex(const BIGNUM *a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Compute the digest of an X.509
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int X509_digest(const X509 *x, const EVP_MD *t, unsigned char *md, unsigned int *len);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * EVP_md5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ const EVP_MD *EVP_md5();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * ASN1_INTEGER free
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ void ASN1_INTEGER_free(ASN1_INTEGER *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * ASN1_STRING_data
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ unsigned char *ASN1_STRING_data(ASN1_STRING *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * ASN1_STRING_length
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int ASN1_STRING_length(ASN1_STRING *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int OBJ_obj2nid(ASN1_OBJECT *o);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ const char *OBJ_nid2ln(int n);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * get the number of extensions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int X509_get_ext_count(X509 *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int X509_get_ext_by_NID(X509 *x, int nid, int lastpos);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int X509_get_ext_by_OBJ(X509 *x, ASN1_OBJECT *obj, int lastpos);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ X509_EXTENSION *X509_get_ext(X509 *x, int loc);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ X509_EXTENSION *X509_delete_ext(X509 *x, int loc);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ void *X509_get_ext_d2i(X509 *x, int nid, int *crit, int *idx);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ char *i2s_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method, ASN1_OCTET_STRING *ia5);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int ASN1_BIT_STRING_get_bit(ASN1_BIT_STRING *a, int n);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ PKCS7 *PKCS7_new(void);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ void PKCS7_free(PKCS7 *a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ void PKCS7_content_free(PKCS7 *a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int i2d_PKCS7(PKCS7 *a, unsigned char **pp);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ PKCS7 *d2i_PKCS7(PKCS7 **a, const unsigned char **pp, long length);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int i2d_PKCS7_fp(FILE *fp, PKCS7 *p7);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ PKCS7 *d2i_PKCS7_fp(FILE *fp, PKCS7 **p7);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int i2d_PKCS7_bio(BIO *bp, PKCS7 *p7);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ PKCS7 *d2i_PKCS7_bio(BIO *bp, PKCS7 **p7);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ PKCS7 *PKCS7_dup(PKCS7 *p7);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Create a PKCS7 signature / signed message
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ PKCS7 *PKCS7_sign(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ BIO *data, int flags);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Verify a PKCS7 signature.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int PKCS7_verify(PKCS7 *p7, STACK_OF(X509) *certs, X509_STORE *store,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ BIO *indata, BIO *out, int flags);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Get signers of a verified PKCS7 signature
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ STACK_OF(X509) *PKCS7_get0_signers(PKCS7 *p7, STACK_OF(X509) *certs, int flags);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * PKCS7 encrypt message
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ PKCS7 *PKCS7_encrypt(STACK_OF(X509) *certs, BIO *in, EVP_CIPHER *cipher,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int flags);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * decrypt PKCS7 message
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int PKCS7_decrypt(PKCS7 *p7, EVP_PKEY *pkey, X509 *cert, BIO *data, int flags);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Load a CA list file.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ STACK_OF(X509_NAME) *SSL_load_client_CA_file(const char *file);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Load a file of PEM encoded objects.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ STACK_OF(X509_INFO) *PEM_X509_INFO_read(FILE *fp, STACK_OF(X509_INFO) *sk,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ pem_password_cb *cb, void *u);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Get the number of purposes available
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int X509_PURPOSE_get_count();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Get the ID of a purpose
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int X509_PURPOSE_get_id(X509_PURPOSE *);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Check the existence of purpose id "id" in x. for CA, set ca = 1, else 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int X509_check_purpose(X509 *x, int id, int ca);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Get the purpose with index #idx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ X509_PURPOSE *X509_PURPOSE_get0(int idx);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Create a new Private KEY
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ EVP_PKEY *EVP_PKEY_new();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Assign a private key
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int EVP_PKEY_assign(EVP_PKEY *pkey, int type, char *key);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Generate a RSA key
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ RSA *RSA_generate_key(int bits, unsigned long e, void
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ (*callback)(int, int, void *), void *cb_arg);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Create/destroy a certificate request
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ X509_REQ *X509_REQ_new();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ void X509_REQ_free(X509_REQ *a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ * Set the public key in the REQ object
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* for testing */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int i2d_X509_REQ_fp(FILE *fp, X509_REQ *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* SMime support */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ STACK *X509_get1_email(X509 *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ void X509_email_free(STACK *sk);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* Ciphers needed for SMime */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ const EVP_CIPHER *EVP_des_ede3_cbc();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ const EVP_CIPHER *EVP_des_cbc();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ const EVP_CIPHER *EVP_rc2_cbc();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ const EVP_CIPHER *EVP_rc2_64_cbc();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ const EVP_CIPHER *EVP_rc2_40_cbc();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* clear the current error - use this often*/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ void ERR_clear_error();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* retrieve the latest error */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ unsigned long ERR_get_error();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* Print the errors to this stream */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ void ERR_print_errors_fp(FILE *fp);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* Get a pointer to the SSL session id (reference counted) */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ SSL_SESSION *SSL_get1_session(SSL *ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* Frees a pointer to the SSL session id (reference decremented if needed) */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ void SSL_SESSION_free(SSL_SESSION *session);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* Set the SSL session to reuse. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int SSL_set_session(SSL *ssl, SSL_SESSION *session);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* Decode ASN.1 to SSL_SESSION */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp, long length);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* Encode SSL_SESSION to ASN.1 */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int i2d_SSL_SESSION(SSL_SESSION *in, unsigned char **pp);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* Write privatekey to FILE stream */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int i2d_PrivateKey_fp(FILE *, EVP_PKEY *);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* Write PKCS#8privatekey to FILE stream */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int i2d_PKCS8PrivateKey_fp(FILE *, EVP_PKEY *, const EVP_CIPHER *, char *, int, pem_password_cb *, void *);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* Free RSA structure */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ void RSA_free(RSA *);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* Get a blowfish CBC pointer */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ const EVP_CIPHER *EVP_bf_cbc();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* Sign a CSR */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int X509_REQ_sign(X509_REQ *, EVP_PKEY *, const EVP_MD *);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* add a name entry */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int X509_NAME_add_entry_by_txt(X509_NAME *, char *, int, unsigned char *, int, int, int);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Duplicate the stack
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- STACK *sk_dup(STACK *s);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Convert an ASN1_INTEGER to its text form
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- char *i2s_ASN1_INTEGER(X509V3_EXT_METHOD *meth, ASN1_INTEGER *aint);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Get the certificate's serial number
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ASN1_INTEGER *X509_get_serialNumber(X509 *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Get the certificate's public key
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- EVP_PKEY *X509_get_pubkey(X509 *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Convert the public key to a decimal form
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int i2d_PublicKey(EVP_PKEY *a, unsigned char **pp);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Check the private key of a PKCS bundle against the X509
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int X509_check_private_key(X509 *x, EVP_PKEY *p);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Convert a BIGNUM to a hex string
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- char *BN_bn2hex(const BIGNUM *a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Compute the digest of an X.509
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int X509_digest(const X509 *x,const EVP_MD *t, unsigned char *md, unsigned int *len);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * EVP_md5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- EVP_MD *EVP_md5();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * ASN1_INTEGER free
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void ASN1_INTEGER_free(ASN1_INTEGER *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * ASN1_STRING_data
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- unsigned char *ASN1_STRING_data(ASN1_STRING *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * ASN1_STRING_length
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int ASN1_STRING_length(ASN1_STRING *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int OBJ_obj2nid(ASN1_OBJECT *o);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- const char * OBJ_nid2ln(int n);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * get the number of extensions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int X509_get_ext_count(X509 *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int X509_get_ext_by_NID(X509 *x, int nid, int lastpos);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int X509_get_ext_by_OBJ(X509 *x,ASN1_OBJECT *obj,int lastpos);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- X509_EXTENSION *X509_get_ext(X509 *x, int loc);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- X509_EXTENSION *X509_delete_ext(X509 *x, int loc);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void *X509_get_ext_d2i(X509 *x, int nid, int *crit, int *idx);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- char *i2s_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method, ASN1_OCTET_STRING *ia5);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int ASN1_BIT_STRING_get_bit(ASN1_BIT_STRING *a, int n);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- PKCS7 *PKCS7_new(void);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void PKCS7_free(PKCS7 *a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void PKCS7_content_free(PKCS7 *a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int i2d_PKCS7(PKCS7 *a, unsigned char **pp);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- PKCS7 *d2i_PKCS7(PKCS7 **a, unsigned char **pp,long length);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int i2d_PKCS7_fp(FILE *fp,PKCS7 *p7);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- PKCS7 *d2i_PKCS7_fp(FILE *fp,PKCS7 **p7);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int i2d_PKCS7_bio(BIO *bp,PKCS7 *p7);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- PKCS7 *d2i_PKCS7_bio(BIO *bp,PKCS7 **p7);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- PKCS7 *PKCS7_dup(PKCS7 *p7);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Create a PKCS7 signature / signed message
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- PKCS7 *PKCS7_sign(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- BIO *data, int flags);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Verify a PKCS7 signature.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int PKCS7_verify(PKCS7 *p7, STACK_OF(X509) *certs, X509_STORE *store,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- BIO *indata, BIO *out, int flags);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Get signers of a verified PKCS7 signature
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- STACK_OF(X509) *PKCS7_get0_signers(PKCS7 *p7, STACK_OF(X509) *certs, int flags);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * PKCS7 encrypt message
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- PKCS7 *PKCS7_encrypt(STACK_OF(X509) *certs, BIO *in, EVP_CIPHER *cipher,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int flags);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * decrypt PKCS7 message
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int PKCS7_decrypt(PKCS7 *p7, EVP_PKEY *pkey, X509 *cert, BIO *data, int flags);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Load a CA list file.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- STACK_OF(X509_NAME) *SSL_load_client_CA_file(const char *file);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Load a file of PEM encoded objects.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- STACK_OF(X509_INFO) *PEM_X509_INFO_read(FILE *fp, STACK_OF(X509_INFO) *sk,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- pem_password_cb *cb, void *u);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Get the number of purposes available
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int X509_PURPOSE_get_count();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Get the ID of a purpose
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int X509_PURPOSE_get_id(X509_PURPOSE *);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Check the existence of purpose id "id" in x. for CA, set ca = 1, else 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int X509_check_purpose(X509 *x, int id, int ca);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Get the purpose with index #idx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- X509_PURPOSE * X509_PURPOSE_get0(int idx);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Create a new Private KEY
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- EVP_PKEY* EVP_PKEY_new();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Assign a private key
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int EVP_PKEY_assign(EVP_PKEY *pkey, int type, char *key);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Generate a RSA key
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- RSA *RSA_generate_key(int bits, unsigned long e, void
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- (*callback)(int,int,void *), void *cb_arg);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Create/destroy a certificate request
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- X509_REQ *X509_REQ_new();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void X509_REQ_free(X509_REQ *a);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- * Set the public key in the REQ object
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /* for testing */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int i2d_X509_REQ_fp(FILE *fp, X509_REQ *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /* SMime support */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- STACK *X509_get1_email(X509 *x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void X509_email_free(STACK *sk);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /* Ciphers needed for SMime */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- EVP_CIPHER *EVP_des_ede3_cbc();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- EVP_CIPHER *EVP_des_cbc();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- EVP_CIPHER *EVP_rc2_cbc();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- EVP_CIPHER *EVP_rc2_64_cbc();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- EVP_CIPHER *EVP_rc2_40_cbc();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /* clear the current error - use this often*/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void ERR_clear_error();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /* retrieve the latest error */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- unsigned long ERR_get_error();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /* Print the errors to this stream */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void ERR_print_errors_fp(FILE *fp);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /* Get a pointer to the SSL session id (reference counted) */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- SSL_SESSION *SSL_get1_session(SSL *ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /* Frees a pointer to the SSL session id (reference decremented if needed) */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void SSL_SESSION_free(SSL_SESSION *session);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /* Set the SSL session to reuse. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int SSL_set_session(SSL *ssl, SSL_SESSION *session);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /* Decode ASN.1 to SSL_SESSION */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a, unsigned char **pp, long length);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /* Encode SSL_SESSION to ASN.1 */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int i2d_SSL_SESSION(SSL_SESSION *in, unsigned char **pp);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /* Write privatekey to FILE stream */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int i2d_PrivateKey_fp(FILE*, EVP_PKEY*);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /* Write PKCS#8privatekey to FILE stream */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int i2d_PKCS8PrivateKey_fp(FILE*, EVP_PKEY*, const EVP_CIPHER*, char*, int, pem_password_cb*, void*);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /* Free RSA structure */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- void RSA_free(RSA*);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /* Get a blowfish CBC pointer */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- EVP_CIPHER *EVP_bf_cbc();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /* Sign a CSR */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int X509_REQ_sign(X509_REQ*, EVP_PKEY*, const EVP_MD*);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /* add a name entry */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int X509_NAME_add_entry_by_txt(X509_NAME*, char*, int, unsigned char*, int, int, int);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /* Create a name */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- X509_NAME *X509_NAME_new();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* Create a name */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ X509_NAME *X509_NAME_new();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /* Set the subject */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int X509_REQ_set_subject_name(X509_REQ*,X509_NAME*);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* Set the subject */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int X509_REQ_set_subject_name(X509_REQ *, X509_NAME *);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- /* get list of available SSL_CIPHER's sorted by preference */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL* ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ /* get list of available SSL_CIPHER's sorted by preference */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *ssl);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ private:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- friend class KOpenSSLProxyPrivate;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- KOpenSSLProxy();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ~KOpenSSLProxy();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- KOpenSSLProxyPrivate * const d;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ friend class KOpenSSLProxyPrivate;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ KOpenSSLProxy();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ~KOpenSSLProxy();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ KOpenSSLProxyPrivate *const d;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- kdelibs-4.14.26/kio/kssl/ksslcallback.c.omv~ 2016-11-14 21:58:51.376629071 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ kdelibs-4.14.26/kio/kssl/ksslcallback.c 2016-11-14 22:35:01.105257670 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -28,7 +28,7 @@ bool KSSL_X509CallBack_ca_found;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ extern "C" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static int X509Callback(int ok, X509_STORE_CTX *ctx) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- kDebug(7029) << "X509Callback: ok = " << ok << " error = " << ctx->error << " depth = " << ctx->error_depth;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ //kDebug(7029) << "X509Callback: ok = " << ok << " error = " << ctx->error << " depth = " << ctx->error_depth;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // Here is how this works. We put "ok = 1;" in any case that we
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // don't consider to be an error. In that case, it will return OK
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // for the certificate check as long as there are no other critical
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -39,14 +39,14 @@ static int X509Callback(int ok, X509_STO
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (KSSL_X509CallBack_ca)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (KOSSL::self()->X509_cmp(ctx->current_cert, KSSL_X509CallBack_ca) != 0)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (KOSSL::self()->X509_cmp(X509_STORE_CTX_get0_cert(ctx), KSSL_X509CallBack_ca) != 0)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return 1; // Ignore errors for this certificate
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ KSSL_X509CallBack_ca_found = true;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (!ok) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- switch (ctx->error) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ switch (X509_STORE_CTX_get_error(ctx)) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case X509_V_ERR_UNABLE_TO_GET_CRL:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case X509_V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- kdelibs-4.14.26/kio/kssl/ksslcertchain.cpp.omv~ 2016-11-14 21:58:51.376629071 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ kdelibs-4.14.26/kio/kssl/ksslcertchain.cpp 2016-11-14 22:06:34.088906036 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -44,16 +44,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <kdebug.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <QtCore/QStringList>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef KSSL_HAVE_SSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define sk_new d->kossl->sk_new
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define sk_push d->kossl->sk_push
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define sk_free d->kossl->sk_free
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define sk_value d->kossl->sk_value
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define sk_num d->kossl->sk_num
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define sk_dup d->kossl->sk_dup
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define sk_pop d->kossl->sk_pop
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ class KSSLCertChainPrivate {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ public:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ KSSLCertChainPrivate() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- kdelibs-4.14.26/kio/kssl/ksslcertificate.cpp.omv~ 2016-11-07 00:11:51.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ kdelibs-4.14.26/kio/kssl/ksslcertificate.cpp 2016-11-14 22:36:42.514225601 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -150,7 +150,7 @@ KSSLCertificate *KSSLCertificate::fromSt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QByteArray qba = QByteArray::fromBase64(cert);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- unsigned char *qbap = reinterpret_cast<unsigned char *>(qba.data());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ const unsigned char *qbap = reinterpret_cast<unsigned char *>(qba.data());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ X509 *x5c = KOSSL::self()->d2i_X509(NULL, &qbap, qba.size());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (!x5c) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return NULL;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -173,7 +173,7 @@ QString KSSLCertificate::getSubject() co
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return rc;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc = t;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->kossl->OPENSSL_free(t);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ OPENSSL_free(t);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return rc;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -200,14 +200,19 @@ QString KSSLCertificate::getSignatureTex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ char *s;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int n, i;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- i = d->kossl->OBJ_obj2nid(d->m_cert->sig_alg->algorithm);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ i = X509_get_signature_nid(d->m_cert);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc = i18n("Signature Algorithm: ");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc += (i == NID_undef)?i18n("Unknown"):QString(d->kossl->OBJ_nid2ln(i));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc += '\n';
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc += i18n("Signature Contents:");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- n = d->m_cert->signature->length;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- s = (char *)d->m_cert->signature->data;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ const ASN1_BIT_STRING *sig;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ const X509_ALGOR *alg;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ X509_get0_signature(&sig, &alg, d->m_cert);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ n = sig->length;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ s = (char*)sig->data;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for (i = 0; i < n; ++i) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (i%20 != 0) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc += ':';
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -234,7 +239,7 @@ void KSSLCertificate::getEmails(QStringL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ STACK *s = d->kossl->X509_get1_email(d->m_cert);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (s) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- for(int n=0; n < s->num; n++) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ for(int n=0; n < OPENSSL_sk_num(s); n++) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ to.append(d->kossl->sk_value(s,n));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ d->kossl->X509_email_free(s);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -317,13 +322,13 @@ QString rc = "";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ EVP_PKEY *pkey = d->kossl->X509_get_pubkey(d->m_cert);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (pkey) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifndef NO_RSA
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (pkey->type == EVP_PKEY_RSA) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (EVP_PKEY_id(pkey) == EVP_PKEY_RSA) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc = "RSA";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifndef NO_DSA
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (pkey->type == EVP_PKEY_DSA) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (EVP_PKEY_id(pkey) == EVP_PKEY_DSA) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc = "DSA";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -347,8 +352,10 @@ char *x = NULL;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (pkey) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc = i18nc("Unknown", "Unknown key algorithm");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifndef NO_RSA
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (pkey->type == EVP_PKEY_RSA) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- x = d->kossl->BN_bn2hex(pkey->pkey.rsa->n);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (EVP_PKEY_id(pkey) == EVP_PKEY_RSA) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ const BIGNUM *n, *e;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ RSA_get0_key(EVP_PKEY_get1_RSA(pkey), &n, &e, NULL);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ x = d->kossl->BN_bn2hex(n);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc = i18n("Key type: RSA (%1 bit)", strlen(x)*4) + '\n';
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc += i18n("Modulus: ");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -362,17 +369,19 @@ char *x = NULL;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc += x[i];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc += '\n';
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->kossl->OPENSSL_free(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ::OPENSSL_free(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- x = d->kossl->BN_bn2hex(pkey->pkey.rsa->e);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ x = d->kossl->BN_bn2hex(e);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc += i18n("Exponent: 0x") + QLatin1String(x) +
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QLatin1String("\n");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->kossl->OPENSSL_free(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ::OPENSSL_free(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifndef NO_DSA
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (pkey->type == EVP_PKEY_DSA) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- x = d->kossl->BN_bn2hex(pkey->pkey.dsa->p);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (EVP_PKEY_id(pkey) == EVP_PKEY_DSA) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ const BIGNUM *p, *q, *g;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ DSA_get0_pqg(EVP_PKEY_get1_DSA(pkey), &p, &q, &g);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ x = d->kossl->BN_bn2hex(p);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // hack - this may not be always accurate
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc = i18n("Key type: DSA (%1 bit)", strlen(x)*4) + '\n';
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -387,9 +396,9 @@ char *x = NULL;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc += x[i];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc += '\n';
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->kossl->OPENSSL_free(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ::OPENSSL_free(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- x = d->kossl->BN_bn2hex(pkey->pkey.dsa->q);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ x = d->kossl->BN_bn2hex(q);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc += i18n("160 bit prime factor: ");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for (unsigned int i = 0; i < strlen(x); i++) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (i%40 != 0 && i%2 == 0) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -401,9 +410,9 @@ char *x = NULL;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc += x[i];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc += '\n';
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->kossl->OPENSSL_free(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ::OPENSSL_free(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- x = d->kossl->BN_bn2hex(pkey->pkey.dsa->g);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ x = d->kossl->BN_bn2hex(g);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc += QString("g: ");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for (unsigned int i = 0; i < strlen(x); i++) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (i%40 != 0 && i%2 == 0) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -415,9 +424,11 @@ char *x = NULL;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc += x[i];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc += '\n';
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->kossl->OPENSSL_free(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ::OPENSSL_free(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- x = d->kossl->BN_bn2hex(pkey->pkey.dsa->pub_key);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ const BIGNUM *pub;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ DSA_get0_key(EVP_PKEY_get1_DSA(pkey), &pub, NULL);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ x = d->kossl->BN_bn2hex(pub);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc += i18n("Public key: ");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for (unsigned int i = 0; i < strlen(x); i++) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (i%40 != 0 && i%2 == 0) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -429,7 +440,7 @@ char *x = NULL;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc += x[i];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc += '\n';
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->kossl->OPENSSL_free(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ::OPENSSL_free(x);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ d->kossl->EVP_PKEY_free(pkey);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -452,7 +463,7 @@ QString rc = "";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc = t;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- d->kossl->OPENSSL_free(t);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ OPENSSL_free(t);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return rc;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -724,9 +735,9 @@ KSSLCertificate::KSSLValidationList KSSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ KSSL_X509CallBack_ca = ca ? ca->d->m_cert : 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ KSSL_X509CallBack_ca_found = false;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- certStoreCTX->error = X509_V_OK;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ X509_STORE_CTX_set_error(certStoreCTX, X509_V_OK);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc = d->kossl->X509_verify_cert(certStoreCTX);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int errcode = certStoreCTX->error;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int errcode = X509_STORE_CTX_get_error(certStoreCTX);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (ca && !KSSL_X509CallBack_ca_found) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ksslv = KSSLCertificate::Irrelevant;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -739,9 +750,9 @@ KSSLCertificate::KSSLValidationList KSSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ d->kossl->X509_STORE_CTX_set_purpose(certStoreCTX,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ X509_PURPOSE_NS_SSL_SERVER);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- certStoreCTX->error = X509_V_OK;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ X509_STORE_CTX_set_error(certStoreCTX, X509_V_OK);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rc = d->kossl->X509_verify_cert(certStoreCTX);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- errcode = certStoreCTX->error;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ errcode = X509_STORE_CTX_get_error(certStoreCTX);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ksslv = processError(errcode);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ d->kossl->X509_STORE_CTX_free(certStoreCTX);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1210,7 +1221,7 @@ typedef struct NETSCAPE_X509_st
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // what a piece of crap this is
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QByteArray KSSLCertificate::toNetscape() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QByteArray qba;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef KSSL_HAVE_SSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(KSSL_HAVE_SSL) && OPENSSL_VERSION_NUMBER < 0x01001000L
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ NETSCAPE_X509 nx;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ASN1_OCTET_STRING hdr;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ KTemporaryFile ktf;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1262,7 +1273,7 @@ bool KSSLCertificate::setCert(const QStr
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef KSSL_HAVE_SSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QByteArray qba, qbb = cert.toLocal8Bit();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qba = QByteArray::fromBase64(qbb);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- unsigned char *qbap = reinterpret_cast<unsigned char *>(qba.data());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ const unsigned char *qbap = reinterpret_cast<const unsigned char *>(qba.data());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ X509 *x5c = KOSSL::self()->d2i_X509(NULL, &qbap, qba.size());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (x5c) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ setCert(x5c);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1293,7 +1304,7 @@ QStringList KSSLCertificate::subjAltName
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return rc;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int cnt = d->kossl->sk_GENERAL_NAME_num(names);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int cnt = sk_GENERAL_NAME_num(names);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for (int i = 0; i < cnt; i++) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ const GENERAL_NAME *val = (const GENERAL_NAME *)d->kossl->sk_value(names, i);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- kdelibs-4.14.26/kio/kssl/kssl.cpp.omv~ 2016-11-14 21:58:51.377629047 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ kdelibs-4.14.26/kio/kssl/kssl.cpp 2016-11-14 22:12:02.469660694 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -70,7 +70,7 @@ public:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef KSSL_HAVE_SSL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SSL *m_ssl;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SSL_CTX *m_ctx;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- SSL_METHOD *m_meth;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ const SSL_METHOD *m_meth;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ KOSSL *kossl;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- kdelibs-4.14.26/kio/kssl/ksslutils.cpp.omv~ 2016-11-14 21:58:51.377629047 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ kdelibs-4.14.26/kio/kssl/ksslutils.cpp 2016-11-14 22:37:20.481117236 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -84,7 +84,7 @@ QString ASN1_UTCTIME_QString(ASN1_UTCTIM
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QString ASN1_INTEGER_QString(ASN1_INTEGER *aint) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ char *rep = KOSSL::self()->i2s_ASN1_INTEGER(NULL, aint);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QString yy = rep;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-KOSSL::self()->OPENSSL_free(rep);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++::OPENSSL_free(rep);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return yy;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>