Bug #3400 ยป ruby-openssl.patch
| ext/openssl/openssl_missing.c (working copy) | ||
|---|---|---|
| 
     #endif /* NO_HMAC */ 
   | 
||
| 
     #if !defined(HAVE_X509_STORE_SET_EX_DATA) 
   | 
||
| 
     int X509_STORE_set_ex_data(X509_STORE *str, int idx, void *data) 
   | 
||
| 
     { 
   | 
||
| 
         return CRYPTO_set_ex_data(&str->ex_data, idx, data); 
   | 
||
| 
     } 
   | 
||
| 
     #endif 
   | 
||
| 
     #if !defined(HAVE_X509_STORE_GET_EX_DATA) 
   | 
||
| 
     void *X509_STORE_get_ex_data(X509_STORE *str, int idx) 
   | 
||
| 
     { 
   | 
||
| 
         return CRYPTO_get_ex_data(&str->ex_data, idx); 
   | 
||
| ext/openssl/openssl_missing.h (working copy) | ||
|---|---|---|
| 
     	(d2i_of_void *)d2i_PKCS7_RECIP_INFO, (char *)ri) 
   | 
||
| 
     #endif 
   | 
||
| 
     #if !defined(HAVE_EVP_MD_CTX_INIT) 
   | 
||
| 
     #if !defined(HAVE_HMAC_CTX_INIT) 
   | 
||
| 
     void HMAC_CTX_init(HMAC_CTX *ctx); 
   | 
||
| 
     #endif 
   | 
||
| ... | ... | |
| 
     #define OPENSSL_cleanse(p, l) memset(p, 0, l) 
   | 
||
| 
     #endif 
   | 
||
| 
     #if !defined(HAVE_X509_STORE_GET_EX_DATA) 
   | 
||
| 
     void *X509_STORE_get_ex_data(X509_STORE *str, int idx); 
   | 
||
| 
     #endif 
   | 
||
| 
     #if !defined(HAVE_X509_STORE_SET_EX_DATA) 
   | 
||
| 
     void *X509_STORE_get_ex_data(X509_STORE *str, int idx); 
   | 
||
| 
     int X509_STORE_set_ex_data(X509_STORE *str, int idx, void *data); 
   | 
||
| 
     #endif 
   | 
||