@@ -419,7 +419,7 @@ void php_openssl_dispose_config(struct php_x509_request * req)
419419 }
420420}
421421
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 )
423423{
424424 char buffer [MAXPATHLEN ];
425425
@@ -448,7 +448,7 @@ int php_openssl_load_rand_file(const char * file, int *egdsocket, int *seeded)
448448 return SUCCESS ;
449449}
450450
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 )
452452{
453453 char buffer [MAXPATHLEN ];
454454
@@ -1746,7 +1746,7 @@ void php_openssl_load_cipher_mode(struct php_openssl_cipher_mode *mode, const EV
17461746 }
17471747}
17481748
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 ,
17501750 bool * free_iv , EVP_CIPHER_CTX * cipher_ctx , struct php_openssl_cipher_mode * mode )
17511751{
17521752 char * iv_new ;
@@ -1797,7 +1797,7 @@ int php_openssl_validate_iv(const char **piv, size_t *piv_len, size_t iv_require
17971797
17981798}
17991799
1800- int php_openssl_cipher_init (const EVP_CIPHER * cipher_type ,
1800+ zend_result php_openssl_cipher_init (const EVP_CIPHER * cipher_type ,
18011801 EVP_CIPHER_CTX * cipher_ctx , struct php_openssl_cipher_mode * mode ,
18021802 const char * * ppassword , size_t * ppassword_len , bool * free_password ,
18031803 const char * * piv , size_t * piv_len , bool * free_iv ,
@@ -1869,7 +1869,7 @@ int php_openssl_cipher_init(const EVP_CIPHER *cipher_type,
18691869 return SUCCESS ;
18701870}
18711871
1872- int php_openssl_cipher_update (const EVP_CIPHER * cipher_type ,
1872+ zend_result php_openssl_cipher_update (const EVP_CIPHER * cipher_type ,
18731873 EVP_CIPHER_CTX * cipher_ctx , struct php_openssl_cipher_mode * mode ,
18741874 zend_string * * poutbuf , int * poutlen , const char * data , size_t data_len ,
18751875 const char * aad , size_t aad_len , int enc )
0 commit comments