Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152954710
D40343.id122663.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
524 B
Referenced Files
None
Subscribers
None
D40343.id122663.diff
View Options
diff --git a/sbin/decryptcore/decryptcore.c b/sbin/decryptcore/decryptcore.c
--- a/sbin/decryptcore/decryptcore.c
+++ b/sbin/decryptcore/decryptcore.c
@@ -41,6 +41,7 @@
#include <string.h>
#include <unistd.h>
+#include <openssl/err.h>
#include <openssl/evp.h>
#include <openssl/pem.h>
#include <openssl/rsa.h>
@@ -179,8 +180,10 @@
unsigned char c[1];
RAND_bytes(c, 1);
}
-#endif
ERR_load_crypto_strings();
+#else
+ OPENSSL_init_crypto(0, NULL);
+#endif
caph_cache_catpages();
if (caph_enter() < 0) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 19, 7:37 AM (15 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31744863
Default Alt Text
D40343.id122663.diff (524 B)
Attached To
Mode
D40343: decryptcore: update for OpenSSL 1.1 API
Attached
Detach File
Event Timeline
Log In to Comment