Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109428466
D40265.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
488 B
Referenced Files
None
Subscribers
None
D40265.diff
View Options
diff --git a/lib/libfetch/common.c b/lib/libfetch/common.c
--- a/lib/libfetch/common.c
+++ b/lib/libfetch/common.c
@@ -1204,6 +1204,7 @@
X509_NAME *name;
char *str;
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
/* Init the SSL library and context */
if (!SSL_library_init()){
fprintf(stderr, "SSL library init failed\n");
@@ -1211,6 +1212,7 @@
}
SSL_load_error_strings();
+#endif
conn->ssl_meth = SSLv23_client_method();
conn->ssl_ctx = SSL_CTX_new(conn->ssl_meth);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 5, 10:52 PM (21 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16482307
Default Alt Text
D40265.diff (488 B)
Attached To
Mode
D40265: libfetch: do not call deprecated OpenSSL functions
Attached
Detach File
Event Timeline
Log In to Comment