Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F131760681
D40353.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
509 B
Referenced Files
None
Subscribers
None
D40353.diff
View Options
diff --git a/sbin/dumpon/dumpon.c b/sbin/dumpon/dumpon.c
--- a/sbin/dumpon/dumpon.c
+++ b/sbin/dumpon/dumpon.c
@@ -566,7 +566,12 @@
if (cipher != KERNELDUMP_ENC_NONE && pubkeyfile == NULL) {
errx(EX_USAGE, "-C option requires a public key file.");
} else if (pubkeyfile != NULL) {
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
ERR_load_crypto_strings();
+#else
+ if (!OPENSSL_init_crypto(0, NULL))
+ errx(EX_UNAVAILABLE, "Unable to initialize OpenSSL");
+#endif
}
#else
if (pubkeyfile != NULL)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 11, 11:11 PM (3 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23596695
Default Alt Text
D40353.diff (509 B)
Attached To
Mode
D40353: dumpon: update OpenSSL initialization call
Attached
Detach File
Event Timeline
Log In to Comment