Lines Matching refs:NULL

55 	char * switch_to_auth_protocol = NULL;  in mysqlnd_run_authentication()
57 char * requested_protocol = NULL; in mysqlnd_run_authentication()
94 zend_uchar * switch_to_auth_protocol_data = NULL; in mysqlnd_run_authentication()
96 zend_uchar * scrambled_data = NULL; in mysqlnd_run_authentication()
99 switch_to_auth_protocol = NULL; in mysqlnd_run_authentication()
102 mysqlnd_set_persistent_string(&conn->authentication_plugin_data, NULL, 0, conn->persistent); in mysqlnd_run_authentication()
111 NULL, &scrambled_data_len, conn, user, passwd, in mysqlnd_run_authentication()
156 } while (ret == FAIL && conn->error_info->error_no == 0 && switch_to_auth_protocol != NULL); in mysqlnd_run_authentication()
256 const MYSQLND_CHARSET * charset = NULL; in mysqlnd_auth_handshake()
339 *switch_to_auth_protocol_data = NULL; in mysqlnd_auth_handshake()
467 *switch_to_auth_protocol_data = NULL; in mysqlnd_auth_change_user()
494 mysqlnd_set_string(&conn->last_message, NULL, 0); in mysqlnd_auth_change_user()
568 zend_uchar * ret = NULL; in mysqlnd_native_auth_get_auth_data()
577 DBG_RETURN(NULL); in mysqlnd_native_auth_get_auth_data()
602 NULL, /* no statistics , will be filled later if there are some */
603 NULL, /* no statistics */
606 NULL /* plugin shutdown */
611 NULL
629 zend_uchar * ret = NULL; in mysqlnd_pam_auth_get_auth_data()
656 NULL, /* no statistics , will be filled later if there are some */
657 NULL, /* no statistics */
660 NULL /* plugin shutdown */
665 NULL
694 EVP_PKEY *ret = PEM_read_bio_PUBKEY(bio, NULL, NULL, NULL); in mysqlnd_sha256_get_rsa_from_pem()
704 zend_uchar * ret = NULL; in mysqlnd_sha256_public_encrypt()
718 DBG_RETURN(NULL); in mysqlnd_sha256_public_encrypt()
723 EVP_PKEY_CTX *ctx = EVP_PKEY_CTX_new(server_public_key, NULL); in mysqlnd_sha256_public_encrypt()
729 ret = NULL; in mysqlnd_sha256_public_encrypt()
749 LPSTR der_buf = NULL; in mysqlnd_sha256_get_rsa_from_pem()
751 CERT_PUBLIC_KEY_INFO *key_info = NULL; in mysqlnd_sha256_get_rsa_from_pem()
755 if (!CryptStringToBinaryA(buf, len, CRYPT_STRING_BASE64HEADER, NULL, &der_len, NULL, NULL)) { in mysqlnd_sha256_get_rsa_from_pem()
759 if (!CryptStringToBinaryA(buf, len, CRYPT_STRING_BASE64HEADER, der_buf, &der_len, NULL, NULL)) { in mysqlnd_sha256_get_rsa_from_pem()
762 …NCODING, X509_PUBLIC_KEY_INFO, der_buf, der_len, CRYPT_ENCODE_ALLOC_FLAG, NULL, &key_info, &key_in… in mysqlnd_sha256_get_rsa_from_pem()
765 …ublicKeyInfoEx2(X509_ASN_ENCODING, key_info, CRYPT_OID_INFO_PUBKEY_ENCRYPT_KEY_FLAG, NULL, &ret)) { in mysqlnd_sha256_get_rsa_from_pem()
784 zend_uchar * ret = NULL; in mysqlnd_sha256_public_encrypt()
793 NULL, 0, NULL, 0, &server_public_key_len, BCRYPT_PAD_OAEP)) { in mysqlnd_sha256_public_encrypt()
813 NULL, 0, ret, server_public_key_len, &server_public_key_len, BCRYPT_PAD_OAEP)) { in mysqlnd_sha256_public_encrypt()
831 mysqlnd_rsa_t ret = NULL; in mysqlnd_sha256_get_rsa_key()
855 if (FAIL == PACKET_READ(conn, &pk_resp_packet) || NULL == pk_resp_packet.public_key) { in mysqlnd_sha256_get_rsa_key()
874 DBG_RETURN(NULL); in mysqlnd_sha256_get_rsa_key()
878 stream = php_stream_open_wrapper((char *) fname, "rb", REPORT_ERRORS, NULL); in mysqlnd_sha256_get_rsa_key()
881 if ((key_str = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0)) != NULL) { in mysqlnd_sha256_get_rsa_key()
907 zend_uchar * ret = NULL; in mysqlnd_sha256_auth_get_auth_data()
954 NULL, /* no statistics , will be filled later if there are some */
955 NULL, /* no statistics */
958 NULL /* plugin shutdown */
963 NULL
1029 EVP_PKEY_CTX *ctx = EVP_PKEY_CTX_new(server_public_key, NULL); in mysqlnd_caching_sha2_public_encrypt()
1056 NULL, 0, NULL, 0, &server_public_key_len, BCRYPT_PAD_OAEP)) { in mysqlnd_caching_sha2_public_encrypt()
1075 NULL, 0, *crypted, server_public_key_len, &server_public_key_len, BCRYPT_PAD_OAEP)) { in mysqlnd_caching_sha2_public_encrypt()
1097 zend_uchar * ret = NULL; in mysqlnd_caching_sha2_get_auth_data()
1105 DBG_RETURN(NULL); in mysqlnd_caching_sha2_get_auth_data()
1125 mysqlnd_rsa_t ret = NULL; in mysqlnd_caching_sha2_get_key()
1151 if (FAIL == PACKET_READ(conn, &pk_resp_packet) || NULL == pk_resp_packet.public_key) { in mysqlnd_caching_sha2_get_key()
1170 DBG_RETURN(NULL); in mysqlnd_caching_sha2_get_key()
1174 stream = php_stream_open_wrapper((char *) fname, "rb", REPORT_ERRORS, NULL); in mysqlnd_caching_sha2_get_key()
1177 if ((key_str = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0)) != NULL) { in mysqlnd_caching_sha2_get_key()
1306 NULL, /* no statistics , will be filled later if there are some */
1307 NULL, /* no statistics */
1310 NULL /* plugin shutdown */