projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2baaf33
)
Zypp must obey user provided openssl.cnf and load builtin-engines, faster, hardware...
author
Cristian Rodríguez
<yo@cristianrodriguez.net>
Mon, 5 Sep 2011 16:57:07 +0000
(13:57 -0300)
committer
Cristian Rodríguez
<yo@cristianrodriguez.net>
Mon, 5 Sep 2011 16:57:07 +0000
(13:57 -0300)
zypp/Digest.cc
patch
|
blob
|
history
diff --git
a/zypp/Digest.cc
b/zypp/Digest.cc
index 380d08ca0fdb1fd96fd75ae42dacb1d651645877..0b41b4b9df1f6be0e05c6e9a6b3303949aa52535 100644
(file)
--- a/
zypp/Digest.cc
+++ b/
zypp/Digest.cc
@@
-14,6
+14,7
@@
#include <cstdio> // snprintf
#include <openssl/evp.h>
+#include <openssl/engine.h>
#include <string>
#include <string.h>
@@
-93,6
+94,9
@@
namespace zypp {
{
if(!openssl_digests_added)
{
+ OPENSSL_config(NULL);
+ ENGINE_load_builtin_engines();
+ ENGINE_register_all_complete();
OpenSSL_add_all_digests();
openssl_digests_added = true;
}