Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 604576
Collapse All | Expand All

(-)a/libr/socket/socket.c (-1 / +2 lines)
Lines 116-126 R_API RSocket *r_socket_new (int is_ssl) { Link Here
116
		s->sfd = NULL;
116
		s->sfd = NULL;
117
		s->ctx = NULL;
117
		s->ctx = NULL;
118
		s->bio = NULL;
118
		s->bio = NULL;
119
#if OPENSSL_VERSION_NUMBER < 0x1010000fL
119
		if (!SSL_library_init ()) {
120
		if (!SSL_library_init ()) {
120
			r_socket_free (s);
121
			r_socket_free (s);
121
			return NULL;
122
			return NULL;
122
		}
123
		}
123
		SSL_load_error_strings ();
124
		SSL_load_error_strings ();
125
#endif
124
	}
126
	}
125
#endif
127
#endif
126
	return s;
128
	return s;
127
- 

Return to bug 604576