Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177329002
D40265.1794139835.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
488 B
Referenced Files
None
Subscribers
None
D40265.1794139835.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
Sun, Nov 8, 12:10 PM (10 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41581360
Default Alt Text
D40265.1794139835.diff (488 B)
Attached To
Mode
D40265: libfetch: do not call deprecated OpenSSL functions
Attached
Detach File
Event Timeline