pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] jai1 commented on a change in pull request #880: CPP Client - Athens Client header visibile and remove C++11 features
Date Thu, 01 Jan 1970 00:00:00 GMT
jai1 commented on a change in pull request #880: CPP Client - Athens Client header visibile
and remove C++11 features
URL: https://github.com/apache/incubator-pulsar/pull/880#discussion_r148693115
 
 

 ##########
 File path: pulsar-client-cpp/lib/auth/athenz/ZTSClient.cc
 ##########
 @@ -143,7 +143,7 @@ namespace pulsar {
         size_t length = strlen(input);
         char *result = (char*)malloc(length);
 
-        bio = BIO_new_mem_buf(input, -1);
+        bio = BIO_new_mem_buf((void *)input, -1);
 
 Review comment:
   https://gist.github.com/superwills/5415344#file-openssl-rsa-encryption-sample-L28
   https://linux.die.net/man/3/bio_new_mem_buf

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message