@@ -419,7 +419,7 @@ void php_openssl_dispose_config(struct php_x509_request * req)
419
419
}
420
420
}
421
421
422
- int php_openssl_load_rand_file (const char * file , int * egdsocket , int * seeded )
422
+ zend_result php_openssl_load_rand_file (const char * file , int * egdsocket , int * seeded )
423
423
{
424
424
char buffer [MAXPATHLEN ];
425
425
@@ -448,7 +448,7 @@ int php_openssl_load_rand_file(const char * file, int *egdsocket, int *seeded)
448
448
return SUCCESS ;
449
449
}
450
450
451
- int php_openssl_write_rand_file (const char * file , int egdsocket , int seeded )
451
+ zend_result php_openssl_write_rand_file (const char * file , int egdsocket , int seeded )
452
452
{
453
453
char buffer [MAXPATHLEN ];
454
454
@@ -1746,7 +1746,7 @@ void php_openssl_load_cipher_mode(struct php_openssl_cipher_mode *mode, const EV
1746
1746
}
1747
1747
}
1748
1748
1749
- int php_openssl_validate_iv (const char * * piv , size_t * piv_len , size_t iv_required_len ,
1749
+ zend_result php_openssl_validate_iv (const char * * piv , size_t * piv_len , size_t iv_required_len ,
1750
1750
bool * free_iv , EVP_CIPHER_CTX * cipher_ctx , struct php_openssl_cipher_mode * mode )
1751
1751
{
1752
1752
char * iv_new ;
@@ -1797,7 +1797,7 @@ int php_openssl_validate_iv(const char **piv, size_t *piv_len, size_t iv_require
1797
1797
1798
1798
}
1799
1799
1800
- int php_openssl_cipher_init (const EVP_CIPHER * cipher_type ,
1800
+ zend_result php_openssl_cipher_init (const EVP_CIPHER * cipher_type ,
1801
1801
EVP_CIPHER_CTX * cipher_ctx , struct php_openssl_cipher_mode * mode ,
1802
1802
const char * * ppassword , size_t * ppassword_len , bool * free_password ,
1803
1803
const char * * piv , size_t * piv_len , bool * free_iv ,
@@ -1869,7 +1869,7 @@ int php_openssl_cipher_init(const EVP_CIPHER *cipher_type,
1869
1869
return SUCCESS ;
1870
1870
}
1871
1871
1872
- int php_openssl_cipher_update (const EVP_CIPHER * cipher_type ,
1872
+ zend_result php_openssl_cipher_update (const EVP_CIPHER * cipher_type ,
1873
1873
EVP_CIPHER_CTX * cipher_ctx , struct php_openssl_cipher_mode * mode ,
1874
1874
zend_string * * poutbuf , int * poutlen , const char * data , size_t data_len ,
1875
1875
const char * aad , size_t aad_len , int enc )
0 commit comments