Decimal printout of a BN is wrong on PPC, it's sparse with very few
[openssl.git] / crypto / pkcs7 / dec.c
index c552c8f296a1572084ed0b2315016cb420d2f635..6752ec568a91ecc2a435685d84e562635271a984 100644 (file)
@@ -57,6 +57,7 @@
  */
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <openssl/bio.h>
 #include <openssl/x509.h>
 #include <openssl/pem.h>
@@ -85,7 +86,7 @@ char *argv[];
        int i,printit=0;
        STACK_OF(PKCS7_SIGNER_INFO) *sk;
 
-       SSLeay_add_all_algorithms();
+       OpenSSL_add_all_algorithms();
        bio_err=BIO_new_fp(stderr,BIO_NOCLOSE);
 
        data=BIO_new(BIO_s_file());