Displaying 2 results from an estimated 2 matches for "sslcontext".
Did you mean:
ss_context
2011 Mar 19
0
Problems with SSL dependent gems OAuth2 & ActiveMerchant
...fy_ssl_certificates'' in the
Gemfile (2) require ''always_verify_ssl_certificates'' in the
ApplicationController file. However, both OAuth2 (Facebook) and
ActiveMerchant (PayPal) throw the following TypeError:
* wrong argument (NilClass)! (Expected kind of
OpenSSL::SSL::SSLContext)
Here are the links to my OAuth2 Facebook code (http://bit.ly/hRO0Yf) and
my ActiveMerchant PayPal code (http://bit.ly/hQzdp6) as they stand now.
This is after following the 2010 OAuth2 guide by Michael Bleigh and the
2008 Cody Fauser ActiveMerchant tutorial. Any help is greatly
appreciated! I'...
2003 Dec 01
0
No subject
...&& *egdsocket != 0)
+ RAND_egd(egdsocket);
+ entropyfile = lp_ssl_entropyfile();
+ entropybytes = lp_ssl_entropybytes();
+ if (entropyfile != NULL && *entropyfile != 0)
+ RAND_load_file(entropyfile, entropybytes);
switch(lp_ssl_version()){
case SMB_SSL_V2: sslContext = SSL_CTX_new(SSLv2_method()); break;
case SMB_SSL_V3: sslContext = SSL_CTX_new(SSLv3_method()); break;
@@ -120,7 +128,7 @@
if(keyfile == NULL || *keyfile == 0)
keyfile = certfile;
if(certfile != NULL && *certfile != 0){
- if(!SSL_CTX_use_certificat...