Lines 875-889
int main( int argc, char* argv[] )
Link Here
|
875 |
outputfile = NULL; |
875 |
outputfile = NULL; |
876 |
} |
876 |
} |
877 |
|
877 |
|
878 |
#ifdef PODOFO_HAVE_OPENSSL_1_1 |
|
|
879 |
OPENSSL_init_crypto(0, NULL); |
880 |
#else |
881 |
OpenSSL_add_all_algorithms(); |
878 |
OpenSSL_add_all_algorithms(); |
882 |
ERR_load_crypto_strings(); |
879 |
ERR_load_crypto_strings(); |
883 |
ERR_load_PEM_strings(); |
880 |
ERR_load_PEM_strings(); |
884 |
ERR_load_ASN1_strings(); |
881 |
ERR_load_ASN1_strings(); |
885 |
ERR_load_EVP_strings(); |
882 |
ERR_load_EVP_strings(); |
886 |
#endif |
|
|
887 |
|
883 |
|
888 |
X509* cert = NULL; |
884 |
X509* cert = NULL; |
889 |
EVP_PKEY* pkey = NULL; |
885 |
EVP_PKEY* pkey = NULL; |