mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
open-isns: add open-isns libs
needed for open-iscsi Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
--- a/pki.c
|
||||
+++ b/pki.c
|
||||
@@ -15,6 +15,8 @@
|
||||
#include <openssl/pem.h>
|
||||
#include <openssl/err.h>
|
||||
#include <openssl/evp.h>
|
||||
+#include <openssl/dsa.h>
|
||||
+#include <openssl/bn.h>
|
||||
#endif
|
||||
#include <libisns/isns.h>
|
||||
#include "security.h"
|
||||
@@ -97,13 +99,11 @@ isns_create_dsa_context(void)
|
||||
isns_security_t *ctx;
|
||||
|
||||
if (!isns_openssl_init) {
|
||||
- ERR_load_crypto_strings();
|
||||
#if OPENSSL_API_COMPAT < 0x10100000L
|
||||
+ ERR_load_crypto_strings();
|
||||
OpenSSL_add_all_algorithms();
|
||||
OpenSSL_add_all_ciphers();
|
||||
OpenSSL_add_all_digests();
|
||||
-#else
|
||||
- OPENSSL_init_crypto();
|
||||
#endif
|
||||
isns_openssl_init = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user