Correct printf format specifier for size_t: %zu or %Iu? Does VS2013 actually support %zu? Isn’t it only available since VS2015? The VS2013 documentation for printf size specifiers says %z is not supported, and the link in this answer leads to documentation for VS2015 (with vs-2015 in the URL), not VS2013
c - Is the %zu specifier required for printf? - Stack Overflow If size_t exists shouldn't zu also be available in printf? size_t existed at least since C89 but the respective format specifier %zu (specifically the length modifier z) was added to the standard only since C99
printf - Difference between %zu and %lu in C - Stack Overflow 9 What is the difference between %zu and %lu in string formatting in C? %lu is used for unsigned long values and %zu is used for size_t values, but in practice, size_t is just an unsigned long CppCheck complains about it, but both work for both types in my experience
Converting PKCS#12 certificate into PEM using OpenSSL Try: openssl pkcs12 -in path p12 -out newfile crt pem -clcerts -nokeys openssl pkcs12 -in path p12 -out newfile key pem -nocerts -nodes After that you have: certificate in newfile crt pem private key in newfile key pem To put the certificate and key in the same file without a password, use the following, as an empty password will cause the key to not be exported: openssl pkcs12 -in path p12